x86, perfcounters: prepare for fixed-mode PMCs
authorIngo Molnar <mingo@elte.hu>
Wed, 17 Dec 2008 08:09:13 +0000 (09:09 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Dec 2008 11:45:10 +0000 (12:45 +0100)
commiteb2b861810d4ff72454c83996b891df4e0aaff9a
tree9b99f1ec88cd3a248425a6370c700aca2db9b759
parent5c167b8585c8d91206b395d57011ead7711e322f
x86, perfcounters: prepare for fixed-mode PMCs

Impact: refactor the x86 code for fixed-mode PMCs

Extend the data structures and rename the existing facilities
to allow for a 'generic' versus 'fixed' counter distinction.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/perf_counter.h
arch/x86/kernel/cpu/perf_counter.c
include/linux/perf_counter.h