[PATCH 0/1] allow trace events to be accessed from any CPU

Junxiao Chang posted 1 patch 1 week, 4 days ago
kernel/events/core.c | 1 +
1 file changed, 1 insertion(+)
[PATCH 0/1] allow trace events to be accessed from any CPU
Posted by Junxiao Chang 1 week, 4 days ago
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