aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorJamie Iles <jamie.iles@picochip.com>2010-02-02 14:25:44 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-12 12:25:54 -0500
commit1b8873a0c6ec511870c106c80b94658f857c47f2 (patch)
tree578c79e82435cf1325619087e283b52f7e511c51 /arch/arm/Kconfig
parent7ada189f5c8627662c23f49b3e68463f86fc511e (diff)
ARM: 5902/4: arm/perfevents: implement perf event support for ARMv6
This patch implements support for ARMv6 performance counters in the Linux performance events subsystem. ARMv6 architectures that have the performance counters should enable HW_PERF_EVENTS to get hardware performance events support in addition to the software events. Note: only ARM Ltd ARM cores are supported. This implementation also provides an ARM PMU abstraction layer to allow ARMv7 and others to be supported in the future by adding new a 'struct arm_pmu'. Cc: Jean Pihet <jpihet@mvista.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Jamie Iles <jamie.iles@picochip.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 74d1e767f0b7..9fb91ce106bc 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1174,6 +1174,14 @@ config HIGHPTE
1174 depends on HIGHMEM 1174 depends on HIGHMEM
1175 depends on !OUTER_CACHE 1175 depends on !OUTER_CACHE
1176 1176
1177config HW_PERF_EVENTS
1178 bool "Enable hardware performance counter support for perf events"
1179 depends on PERF_EVENTS && CPU_HAS_PMU && CPU_V6
1180 default y
1181 help
1182 Enable hardware performance counter support for perf events. If
1183 disabled, perf events will use software events only.
1184
1177source "mm/Kconfig" 1185source "mm/Kconfig"
1178 1186
1179config LEDS 1187config LEDS