Re: [PATCH v2 03/10] x86: Add a type field to alt_instr

From: Borislav Petkov
Date: Tue Jan 16 2018 - 17:53:36 EST


On Tue, Jan 16, 2018 at 04:49:55PM -0600, Josh Poimboeuf wrote:
> Unfortunately it's against policy to include kernel headers from the
> tools subdirectory, so we generally have to either hard code things like
> this, or have a duplicated header file which needs to be kept in sync.

Yeah, and AFAIR, perf tool guys already have machinery that does check
whether stuff went out of sync and they resync the required definitions.

You could reuse that...

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.