diff options
| author | Vineeth Pillai (Google) <vineeth@bitbyteword.org> | 2026-03-23 12:00:31 -0400 |
|---|---|---|
| committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2026-03-26 10:24:39 -0400 |
| commit | fa9ac2fdb605bbf318bb2cbbc76b855341b7c115 (patch) | |
| tree | 42751cb6f82a9343479055aa104d925ad5534100 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 7b1c2d7547943ddb0d425138b3b42262ff92eea3 (diff) | |
i2c: 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.
Link: https://patch.msgid.link/20260323160052.17528-13-vineeth@bitbyteword.org
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
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
