Re: [PATCH] tracing: Disable branch profiling in noinstr code

From: Josh Poimboeuf
Date: Fri Mar 21 2025 - 13:21:41 EST


On Fri, Mar 21, 2025 at 01:12:48PM -0400, Steven Rostedt wrote:
> On Fri, 21 Mar 2025 17:51:50 +0100
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> > Though the real fix would be to rip out this likely/unlikely tracer
> > hackery all together.
>
> If you want, you could just disable it for all of arch/x86

I *basically* did that, albeit in more of a surgical manner by editing a
lot of the makefiles in arch/x86/*/.

Let me see if I can figure out how to do that more broadly at the
arch/x86 level.

--
Josh