commit | ffb871bc9156ee2e5cf442f61250c5bd6aad17e3 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Thu Nov 10 14:57:26 2011 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Dec 06 20:41:05 2011 +0100 |
tree | b69b5201d5ad2e54dedbdc07d4b8de5ac1f22be8 | |
parent | ac99b862fb98a36929831791da31714f709c2aa8 [diff] |
x86, perf: Disable non available architectural events 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>