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

Masami Hiramatsu
2024-08-19T23:34:36Z

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

> On Tue, 20 Aug 2024 00:56:49 +0900
> Masami Hiramatsu (Google) <mhiramat@kernel.org> 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@kernel.org>