[PATCH] perf, x86: Fix Haswell CYCLE_ACTIVITY.* counter constraints

2015-03-09 Thread Andi Kleen
From: Andi Kleen 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

[PATCH] perf, x86: Fix Haswell CYCLE_ACTIVITY.* counter constraints

2015-03-09 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com 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.