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

Mark Brown
2026-03-12T15:34:25Z

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

On Thu, Mar 12, 2026 at 11:05:08AM -0400, 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.

Acked-by: Mark Brown <broonie@kernel.org>

though not loving the naming here, I'll have a hard time figuring out
what the weird call is about next time I look at that code

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]