x86, perf: Disable non available architectural events
authorGleb Natapov <gleb@redhat.com>
Thu, 10 Nov 2011 12:57:26 +0000 (14:57 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 19:41:05 +0000 (20:41 +0100)
Intel CPUs report non-available architectural events in cpuid leaf
0AH.EBX. Use it to disable events that are not available according
to CPU.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1320929850-10480-7-git-send-email-gleb@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found