summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorJamie Iles2010-02-02 20:24:58 +0100
committerRussell King2010-02-12 18:25:53 +0100
commit7ada189f5c8627662c23f49b3e68463f86fc511e (patch)
tree3b4b15586e3e81ec0bbca292dd9a1ed8175e717e /arch/arm/Kconfig
parentARM: 5901/2: arm/oprofile: reserve the PMU when starting (diff)
downloadkernel-qcow2-linux-7ada189f5c8627662c23f49b3e68463f86fc511e.tar.gz
kernel-qcow2-linux-7ada189f5c8627662c23f49b3e68463f86fc511e.tar.xz
kernel-qcow2-linux-7ada189f5c8627662c23f49b3e68463f86fc511e.zip
ARM: 5900/2: arm: enable support for software perf events
The perf events subsystem allows counting of both hardware and software events. This patch implements the bare minimum for software performance events. Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@elte.hu> 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/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9e08891062bf..74d1e767f0b7 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -18,6 +18,8 @@ config ARM
select HAVE_KRETPROBES if (HAVE_KPROBES)
select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
select HAVE_GENERIC_DMA_COHERENT
+ select HAVE_PERF_EVENTS
+ select PERF_USE_VMALLOC
help
The ARM series is a line of low-power-consumption RISC chip designs
licensed by ARM Ltd and targeted at embedded applications and