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

From: Alexander Shishkin
Date: Tue Sep 20 2016 - 11:50:30 EST

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(-)