]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring: Use trace_call__##name() at guarded tracepoint call sites
authorVineeth Pillai <vineeth@bitbyteword.org>
Fri, 15 May 2026 13:59:03 +0000 (09:59 -0400)
committerJens Axboe <axboe@kernel.dk>
Fri, 15 May 2026 14:05:26 +0000 (08:05 -0600)
commit67ee1f021a9b74ef289934be5e7a474e20031add
treecc5f7a1a8e397b2c22441026a25afb2ac484d7cf
parentb4e41050b212ca33c82fb0598a7b323d5b18f1bb
io_uring: Use trace_call__##name() at guarded tracepoint call sites

Replace trace_foo() with the new trace_call__foo() at sites already
guarded by trace_foo_enabled(), avoiding a redundant
static_branch_unlikely() re-evaluation inside the tracepoint.
trace_call__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) <vineeth@bitbyteword.org>
Assisted-by: Claude:claude-sonnet-4-6
Link: https://patch.msgid.link/20260515135903.2238731-1-vineeth@bitbyteword.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.h