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

From: Steven Rostedt
Date: Wed Jul 22 2020 - 20:06:14 EST


On Thu, 23 Jul 2020 01:56:20 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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