Skip to content

allow trace events to be accessed from any CPU

Junxiao Chang linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1perf/core: allow trace events to be accessed from any CPUkernel/events/core.c+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(+)
Signature · 1 line
2.43.0