perf/x86: Add Sandy Bridge constraints for CYCLE_ACTIVITY.*
authorAndi Kleen <ak@linux.intel.com>
Fri, 8 Mar 2013 23:22:48 +0000 (15:22 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Apr 2013 13:00:07 +0000 (15:00 +0200)
commitf8378f5259647710f0b4ecb814b0a1b0d9040de0
treed331f15a93ee40d2b7d228ef42c4a5ae1ae94723
parent8101376dc5f42bd93b36d4ab210b44503d0ec11f
perf/x86: Add Sandy Bridge constraints for CYCLE_ACTIVITY.*

Add CYCLE_ACTIVITY.CYCLES_NO_DISPATCH/CYCLES_L1D_PENDING constraints.

These recently documented events have restrictions to counter
0-3 and counter 2 respectively. The perf scheduler needs to know
that to schedule them correctly.

IvyBridge already has the necessary constraints.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: a.p.zijlstra@chello.nl
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1362784968-12542-1-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel.c