]> bbs.cooldavid.org Git - net-next-2.6.git/commit - arch/arm/Kconfig
ARM: 5902/4: arm/perfevents: implement perf event support for ARMv6
authorJamie Iles <jamie.iles@picochip.com>
Tue, 2 Feb 2010 19:25:44 +0000 (20:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Feb 2010 17:25:54 +0000 (17:25 +0000)
commit1b8873a0c6ec511870c106c80b94658f857c47f2
tree578c79e82435cf1325619087e283b52f7e511c51
parent7ada189f5c8627662c23f49b3e68463f86fc511e
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>
arch/arm/Kconfig
arch/arm/kernel/Makefile
arch/arm/kernel/perf_event.c [new file with mode: 0644]