Re: [BUG] tracing: dynamic ftrace selftest detected failures

From: Google
Date: Mon Aug 19 2024 - 19:34:49 EST


On Mon, 19 Aug 2024 12:02:44 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Tue, 20 Aug 2024 00:56:49 +0900
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
> >
> > >
> > > We may need to add "noinline" or something to make sure those functions
> > > don't get inlined for LTO.
> >
> > Yeah, we need such option at least for function call test.
>
> Could you add the noinline, and if it fixes the issue send a patch?

OK, BTW, I got warnings from kmemleak when I disabled LTO in the selftest.
Let me fix it too.

Thanks,

>
> Thanks,
>
> -- Steve
>


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>