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

From: Song Liu

Date: Wed Oct 28 2026 - 18:21:04 EST


Hi Steven,

Do you plan to apply this set to the trace tree (after the merge window,
I guess)? If not, how should we proceed?

Thanks,
Song

On Fri, Oct 23, 2026 at 6:33 AM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> On Thu, 22 Oct 2026 18:10:40 -0700
> Song Liu <song@xxxxxxxxxx> wrote:
>
> > __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@xxxxxxxxxx>
>
> Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
>
> -- Steve