perf, x86: Implement arch event mask as quirk
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 6 Dec 2011 13:07:15 +0000 (14:07 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 19:41:06 +0000 (20:41 +0100)
commitc1d6f42f1a42c721513e2f388c208e5348004f64
treec30bac2feecd91ceb012eb5523568360f40ce9a3
parentffb871bc9156ee2e5cf442f61250c5bd6aad17e3
perf, x86: Implement arch event mask as quirk

Implement the disabling of arch events as a quirk so that we can print
a message along with it. This creates some visibility into the problem
space and could allow us to work on adding more work-around like the
AAJ80 one.

Requested-by: Ingo Molnar <mingo@elte.hu>
Cc: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-wcja2z48wklzu1b0nkz0a5y7@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event.h
arch/x86/kernel/cpu/perf_event_intel.c