perf/x86/intel: Fix SNB-EP CBO and PCU uncore PMU filter management
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 16 Apr 2013 11:51:06 +0000 (19:51 +0800)
committerIngo Molnar <mingo@kernel.org>
Sun, 21 Apr 2013 09:01:23 +0000 (11:01 +0200)
commit46bdd905987199febdef611bab40e2b1ac0036b8
tree5186d2c27d7fa9a63e285984746b007a099db882
parent22cc4ccf63e10e361531bf61e6e6c96c53a2f665
perf/x86/intel: Fix SNB-EP CBO and PCU uncore PMU filter management

The existing code assumes all Cbox and PCU events are using
filter, but actually the filter is event specific. Furthermore
the filter is sub-divided into multiple fields which are used
by different events.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: peterz@infradead.org
Cc: ak@linux.intel.com
Link: http://lkml.kernel.org/r/1366113067-3262-3-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reported-by: Stephane Eranian <eranian@google.com>
arch/x86/kernel/cpu/perf_event_intel_uncore.c
arch/x86/kernel/cpu/perf_event_intel_uncore.h