diff options
author | Jamie Iles <jamie.iles@picochip.com> | 2010-02-02 14:25:44 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 12:25:54 -0500 |
commit | 1b8873a0c6ec511870c106c80b94658f857c47f2 (patch) | |
tree | 578c79e82435cf1325619087e283b52f7e511c51 /arch/arm/kernel/Makefile | |
parent | 7ada189f5c8627662c23f49b3e68463f86fc511e (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/kernel/Makefile')
-rw-r--r-- | arch/arm/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile index 216890d804c2..c76e6d2679b8 100644 --- a/arch/arm/kernel/Makefile +++ b/arch/arm/kernel/Makefile | |||
@@ -47,6 +47,7 @@ obj-$(CONFIG_CPU_XSC3) += xscale-cp0.o | |||
47 | obj-$(CONFIG_CPU_MOHAWK) += xscale-cp0.o | 47 | obj-$(CONFIG_CPU_MOHAWK) += xscale-cp0.o |
48 | obj-$(CONFIG_IWMMXT) += iwmmxt.o | 48 | obj-$(CONFIG_IWMMXT) += iwmmxt.o |
49 | obj-$(CONFIG_CPU_HAS_PMU) += pmu.o | 49 | obj-$(CONFIG_CPU_HAS_PMU) += pmu.o |
50 | obj-$(CONFIG_HW_PERF_EVENTS) += perf_event.o | ||
50 | AFLAGS_iwmmxt.o := -Wa,-mcpu=iwmmxt | 51 | AFLAGS_iwmmxt.o := -Wa,-mcpu=iwmmxt |
51 | 52 | ||
52 | ifneq ($(CONFIG_ARCH_EBSA110),y) | 53 | ifneq ($(CONFIG_ARCH_EBSA110),y) |