Thread (19 messages) 19 messages, 2 authors, 2d ago

Re: [PATCH v2 07/16] tracepoint: Mark __do_trace_##name() notrace

flat view

From: Song Liu <song@kernel.org>
Date: 2026-10-23 18:04:49
Also in: live-patching, lkml

On Fri, Oct 23, 2026 at 6:33 AM Steven Rostedt [off-list ref] wrote:
On Thu, 22 Oct 2026 18:10:40 -0700
Song Liu [off-list ref] wrote:
quoted
__do_trace_##name() takes the tracepoint SRCU read lock and calls the
probes. It is called from trace_##name(), trace_call__##name(), and the
notrace rust_do_trace_##name(). It is a plain inline function, so if
the compiler emits it out of line, that copy is untraced only because
inline implies notrace.

Mark it notrace explicitly. No functional change.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Song Liu <song@kernel.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve
Thanks Steven!

How should we proceed from here? Will you take this via the trace tree?

Song
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help