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

From: Steven Rostedt
Date: Mon Aug 19 2024 - 11:28:43 EST


On Mon, 19 Aug 2024 17:11:52 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:

> CONFIG_LTO=y
> CONFIG_LTO_CLANG=y

Hi Masami,

Does it still fail if you disable the above?

I wonder if that causes functions to not be part of the available filter
functions that the ftrace filter test is using :-/

We may need to add "noinline" or something to make sure those functions
don't get inlined for LTO.

-- Steve