trace: Add trace_ipi_send_cpumask()
authorValentin Schneider <vschneid@redhat.com>
Tue, 7 Mar 2023 14:35:52 +0000 (14:35 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 24 Mar 2023 10:01:26 +0000 (11:01 +0100)
commit56eb0598c7a30c76009a082d3213486d6a013df0
tree9085376ba67bad1b8f85c2084a33c9714b73d74a
parent203e435844734cfa503cd1755f35db2514db5cca
trace: Add trace_ipi_send_cpumask()

trace_ipi_raise() is unsuitable for generically tracing IPI sources due to
its "reason" argument being an uninformative string (on arm64 all you get
is "Function call interrupts" for SMP calls).

Add a variant of it that exports a target cpumask, a callsite and a callback.

Signed-off-by: Valentin Schneider <vschneid@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20230307143558.294354-2-vschneid@redhat.com
include/trace/events/ipi.h