[RFC][PATCH] objtool,x86_64: Replace recordmcount with objtool

Steven Rostedt rostedt at goodmis.org
Wed Jul 22 20:06:08 EDT 2020


On Thu, 23 Jul 2020 01:56:20 +0200
Peter Zijlstra <peterz at infradead.org> wrote:

> Anyway, what do you prefer, I suppose I can make objtool whatever we
> need, that patch is trivial. Simply recording the sites and not
> rewriting them should be simple enough.

Either way. If objtool turns it into nops, just make it where we can
enable -DCC_USING_NOP_MCOUNT set, and the kernel will be unaware.

Or if you just add the locations, then that would work too.

-- Steve



More information about the linux-arm-kernel mailing list