perf, x86: Expose perf capability to other modules
authorGleb Natapov <gleb@redhat.com>
Thu, 10 Nov 2011 12:57:27 +0000 (14:57 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 19:41:08 +0000 (20:41 +0100)
commitb3d9468a8bd218a695e3a0ff112cd4efd27b670a
tree02e9ea935617716ae6667c06fd6819a89c715c15
parentc1d6f42f1a42c721513e2f388c208e5348004f64
perf, x86: Expose perf capability to other modules

KVM needs to know perf capability to decide which PMU it can expose to a
guest.

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-8-git-send-email-gleb@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/perf_event.h
arch/x86/kernel/cpu/perf_event.c