perf/x86/intel: Fix Haswell CYCLE_ACTIVITY.* counter constraints
authorAndi Kleen <[email protected]>
Mon, 9 Mar 2015 18:20:22 +0000 (11:20 -0700)
committerIngo Molnar <[email protected]>
Thu, 2 Apr 2015 15:07:43 +0000 (17:07 +0200)
commitc420f19b9cdc59662dbb56677417487efc1729ec
tree4b043401d2146c2055d393ece7d57ce0a6350928
parent687805e4a60fe83a11556c041840161f8016a367
perf/x86/intel: Fix Haswell CYCLE_ACTIVITY.* counter constraints

Some of the CYCLE_ACTIVITY.* events can only be scheduled on
counter 2.  Due to a typo Haswell matched those with
INTEL_EVENT_CONSTRAINT, which lead to the events never
matching as the comparison does not expect anything
in the umask too. Fix the typo.

Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_event_intel.c