Thread (48 messages) 48 messages, 12 authors, 2026-03-18

Re: [PATCH 04/15] net: Use trace_invoke_##name() at guarded tracepoint call sites

From: Paolo Abeni <pabeni@redhat.com>
Date: 2026-03-17 10:34:46
Also in: bpf, linux-sctp, lkml, netdev

On 3/12/26 4:04 PM, Vineeth Pillai (Google) wrote:
Replace trace_foo() with the new trace_invoke_foo() at sites already
guarded by trace_foo_enabled(), avoiding a redundant
static_branch_unlikely() re-evaluation inside the tracepoint.
trace_invoke_foo() calls the tracepoint callbacks directly without
utilizing the static branch again.

Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Vineeth Pillai (Google) <redacted>
Assisted-by: Claude:claude-sonnet-4-6
Side question: which is the merge plan here? since this patch depends on
1/15 I guess it's via the trace tree, am I correct?

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