Thread (21 messages) 21 messages, 4 authors, 2024-08-23

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

From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2024-08-19 15:56:53
Also in: lkml

On Mon, 19 Aug 2024 11:29:02 -0400
Steven Rostedt [off-list ref] wrote:
On Mon, 19 Aug 2024 17:11:52 +0900
Masami Hiramatsu (Google) [off-list ref] wrote:
quoted
CONFIG_LTO=y
CONFIG_LTO_CLANG=y
Hi Masami,

Does it still fail if you disable the above?
No, I found that caused these failure.
I wonder if that causes functions to not be part of the available filter
functions that the ftrace filter test is using :-/
Ah, LTO optimized the target function call... (same as ftrace-direct example)
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.

Thank you,
-- Steve

-- 
Masami Hiramatsu (Google) [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help