diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-03 04:39:53 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-08 09:47:15 -0500 |
commit | 241771ef016b5c0c83cd7a4372a74321c973c1e6 (patch) | |
tree | 5893d72f1721af34daee82f27449bd35c9f65363 /arch/x86/kernel/cpu/Makefile | |
parent | e7bc62b6b3aeaa8849f8383e0cfb7ca6c003adc6 (diff) |
performance counters: x86 support
Implement performance counters for x86 Intel CPUs.
It's simplified right now: the PERFMON CPU feature is assumed,
which is available in Core2 and later Intel CPUs.
The design is flexible to be extended to more CPU types as well.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/Makefile')
-rw-r--r-- | arch/x86/kernel/cpu/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile index 82ec6075c057..89e53361fe24 100644 --- a/arch/x86/kernel/cpu/Makefile +++ b/arch/x86/kernel/cpu/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | # Makefile for x86-compatible CPU details and quirks | 2 | # Makefile for x86-compatible CPU details, features and quirks |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := intel_cacheinfo.o addon_cpuid_features.o | 5 | obj-y := intel_cacheinfo.o addon_cpuid_features.o |
@@ -16,11 +16,13 @@ obj-$(CONFIG_CPU_SUP_CENTAUR_64) += centaur_64.o | |||
16 | obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o | 16 | obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o |
17 | obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o | 17 | obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o |
18 | 18 | ||
19 | obj-$(CONFIG_X86_MCE) += mcheck/ | 19 | obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o |
20 | obj-$(CONFIG_MTRR) += mtrr/ | ||
21 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ | ||
22 | 20 | ||
23 | obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o | 21 | obj-$(CONFIG_X86_MCE) += mcheck/ |
22 | obj-$(CONFIG_MTRR) += mtrr/ | ||
23 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ | ||
24 | |||
25 | obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o | ||
24 | 26 | ||
25 | quiet_cmd_mkcapflags = MKCAP $@ | 27 | quiet_cmd_mkcapflags = MKCAP $@ |
26 | cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@ | 28 | cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@ |