[PATCH v3 00/22] Move notrace from inline to __always_inline
David Laight
david.laight.linux at gmail.com
Tue Dec 1 03:13:33 PST 2026
On Mon, 30 Nov 2026 20:21:39 -0800
Song Liu <song at kernel.org> wrote:
> Since commit 45959ee7aa64 ("ftrace: Do not function trace inlined
> functions"), every function marked inline is also notrace. When the
> compiler does not inline such a function, the out-of-line copy cannot
> be traced with ftrace, cannot be a BPF fentry/fexit target, and cannot
> be livepatched.
That seems entirely reasonable to me.
Anything marked inline is really expected to be inlined (even if the
compiler decides otherwise).
David
More information about the linux-arm-kernel
mailing list