Re: [PATCH v3 00/22] Move notrace from inline to __always_inline

From: Steven Rostedt

Date: Wed Dec 02 2026 - 12:12:11 EST


On Wed, 02 Dec 2026 22:49:41 +0900
"Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx> wrote:

> More importantly, there is a structural maintainability problem.
> It is impossible to know in advance whether a `static inline` helper
> function will actually be inlined or generated as standalone code.
> Unlike `noinstr` on x86, there is no compile-time check tool
> (such as objtool) detecting - across different architectures -
> calls from a function marked `notrace` to a function that is
> traceable.
>
> So, I am opposed to making global semantic changes before such tools
> are in place.

Could simply add a config to make all inline nops. If you really need
something inlined, you use __always_inline.

-- Steve