diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-25 17:09:22 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-25 17:09:22 -0500 |
commit | bc85e585c6d0fab4bde12d60964b2f25802c3163 (patch) | |
tree | 80f5fe916e3458d0676e595e3433a0313e7ba72b /arch/arm/Kconfig | |
parent | 186f93ea1f274f4cde4a356401c1786c818ff881 (diff) | |
parent | 796d12959ad374cae8eb77faaf4243455a305433 (diff) |
Merge branch 'perf' into devel
Conflicts:
arch/arm/Kconfig
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7afc6150ac71..100b90f3778a 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -20,6 +20,8 @@ config ARM | |||
20 | select HAVE_GENERIC_DMA_COHERENT | 20 | select HAVE_GENERIC_DMA_COHERENT |
21 | select HAVE_KERNEL_GZIP | 21 | select HAVE_KERNEL_GZIP |
22 | select HAVE_KERNEL_LZO | 22 | select HAVE_KERNEL_LZO |
23 | select HAVE_PERF_EVENTS | ||
24 | select PERF_USE_VMALLOC | ||
23 | help | 25 | help |
24 | The ARM series is a line of low-power-consumption RISC chip designs | 26 | The ARM series is a line of low-power-consumption RISC chip designs |
25 | licensed by ARM Ltd and targeted at embedded applications and | 27 | licensed by ARM Ltd and targeted at embedded applications and |
@@ -877,6 +879,11 @@ config XSCALE_PMU | |||
877 | depends on CPU_XSCALE && !XSCALE_PMU_TIMER | 879 | depends on CPU_XSCALE && !XSCALE_PMU_TIMER |
878 | default y | 880 | default y |
879 | 881 | ||
882 | config CPU_HAS_PMU | ||
883 | depends on CPU_V6 || CPU_V7 || XSCALE_PMU | ||
884 | default y | ||
885 | bool | ||
886 | |||
880 | if !MMU | 887 | if !MMU |
881 | source "arch/arm/Kconfig-nommu" | 888 | source "arch/arm/Kconfig-nommu" |
882 | endif | 889 | endif |
@@ -1181,6 +1188,14 @@ config HIGHPTE | |||
1181 | depends on HIGHMEM | 1188 | depends on HIGHMEM |
1182 | depends on !OUTER_CACHE | 1189 | depends on !OUTER_CACHE |
1183 | 1190 | ||
1191 | config HW_PERF_EVENTS | ||
1192 | bool "Enable hardware performance counter support for perf events" | ||
1193 | depends on PERF_EVENTS && CPU_HAS_PMU && (CPU_V6 || CPU_V7) | ||
1194 | default y | ||
1195 | help | ||
1196 | Enable hardware performance counter support for perf events. If | ||
1197 | disabled, perf events will use software events only. | ||
1198 | |||
1184 | source "mm/Kconfig" | 1199 | source "mm/Kconfig" |
1185 | 1200 | ||
1186 | config LEDS | 1201 | config LEDS |