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

From: Steven Rostedt
Date: Fri Mar 21 2025 - 14:29:16 EST


On Fri, 21 Mar 2025 10:21:34 -0700
Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> 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.

Ah, I thought there was a way to do it recursively, but I don't see a
way to do that.

Masahiro, do you know of a way that we can add a CFLAGS option to a
directory and all its siblings without modifying all the Makefiles?

-- Steve