Skip to content

perf, bts: Make BTS exclusive again

Alexander Shishkin lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf/x86/intel/bts: Make it an exclusive PMUarch/x86/events/intel/bts.c+2 -10 replies
2/2perf: Limit matching exclusive events to one PMUkernel/events/core.c+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] perf, bts: Make BTS exclusive again

Hi Peter,

While looking at something else I noticed that the exclusive event filter only allows one such event per context, whereas it should allow one such event from each PMU that has PERF_PMU_CAP_EXCLUSIVE. At the same time, intel_bts PMU doesn't even have this capability set (which is why on systems that allow coexistance of PT and BTS it still works, see ccbebba4c6 for more context).

Alexander Shishkin (2):
perf/x86/intel/bts: Make it an exclusive PMU
perf: Limit matching exclusive events to one PMU

 arch/x86/events/intel/bts.c | 3 ++-
 kernel/events/core.c        | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.9.3