lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240820005649.dd019cfa70a8955d91cf85a0@kernel.org>
Date: Tue, 20 Aug 2024 00:56:49 +0900
From: Masami Hiramatsu (Google) <mhiramat@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Linux Trace Kernel <linux-trace-kernel@...r.kernel.org>,
 linux-kernel@...r.kernel.org
Subject: Re: [BUG] tracing: dynamic ftrace selftest detected failures

On Mon, 19 Aug 2024 11:29:02 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:

> On Mon, 19 Aug 2024 17:11:52 +0900
> Masami Hiramatsu (Google) <mhiramat@...nel.org> wrote:
> 
> > 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) <mhiramat@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ