# Re: \[PATCH v2 13/19\] spi: Use trace\_call\_\_\#\#name() at guarded tracepoint call sites

- From: Mark Brown \<broonie@kernel.org\>
- Date: 2026-03-23 16:03:42 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2026/03/3475448
- Thread: https://ratatoskr.run/linux-spi/2026/03/3475425/t.md

```text
On Mon, Mar 23, 2026 at 12:00:32PM -0400, Vineeth Pillai (Google) wrote:
> 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.

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

## Attachments

- [signature.asc](https://ratatoskr.run/linux-trace-kernel/2026/03/3475448/attachment/0) (application/pgp-signature, 488 bytes)
