x86, perf: Clean up perf_event cpu code
authorKevin Winchester <kjwinchester@gmail.com>
Tue, 30 Aug 2011 23:41:05 +0000 (20:41 -0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Sep 2011 10:58:00 +0000 (12:58 +0200)
commitde0428a7ad4856c7b5b8a2792488ac893e6f3faa
tree63cf492f6e6a1b11aa8d4271df50b7c71649a49d
parented3982cf3748b657ffb79d9d1c2e4a562661db2d
x86, perf: Clean up perf_event cpu code

The CPU support for perf events on x86 was implemented via included C files
with #ifdefs.  Clean this up by creating a new header file and compiling
the vendor-specific files as needed.

Signed-off-by: Kevin Winchester <kjwinchester@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1314747665-2090-1-git-send-email-kjwinchester@gmail.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event.h [new file with mode: 0644]
arch/x86/kernel/cpu/perf_event_amd.c
arch/x86/kernel/cpu/perf_event_intel.c
arch/x86/kernel/cpu/perf_event_intel_ds.c
arch/x86/kernel/cpu/perf_event_intel_lbr.c
arch/x86/kernel/cpu/perf_event_p4.c
arch/x86/kernel/cpu/perf_event_p6.c
This page took 0.025015 seconds and 5 git commands to generate.