[PATCH 0/1] allow trace events to be accessed from any CPU
From: Junxiao Chang
Date: Tue May 26 2026 - 20:57:20 EST
The issue was reproduced while debugging real-time scheduling
performance. An extra SMP IPI is triggered when using perf stat
to collect trace event statistics.
Trace events should be accessible from any CPU without requiring
an IPI when the current CPU differs from the event CPU.
Set the trace event PMU scope to PERF_PMU_SCOPE_SYS_WIDE so that
trace events can be accessed system-wide. With this change, no
extra SMP IPI is triggered even when the current CPU differs from
the event CPU.
Junxiao Chang (1):
perf/core: allow trace events to be accessed from any CPU
kernel/events/core.c | 1 +
1 file changed, 1 insertion(+)
--
2.43.0