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

From: David Laight

Date: Tue Dec 01 2026 - 06:13:41 EST


On Mon, 30 Nov 2026 20:21:39 -0800
Song Liu <song@xxxxxxxxxx> 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