ARM: 5899/2: arm: provide a mechanism to reserve performance counters
authorJamie Iles <jamie.iles@picochip.com>
Tue, 2 Feb 2010 19:23:15 +0000 (20:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Feb 2010 17:23:43 +0000 (17:23 +0000)
commit0f4f0672ac950c96cffaf84a666d35e817d7c3ca
treecb4c1ec72f7842622c636a76f5ca519f3f3e8ea8
parent74d2e4f8d79ae0c4b6ec027958d5b18058662eea
ARM: 5899/2: arm: provide a mechanism to reserve performance counters

To add support for perf events and to allow the hardware counters to be
shared with oprofile, we need a way to reserve access to the pmu
(performance monitor unit). Platforms with PMU interrupts should
register the interrupts in arch/arm/kernel/pmu.c

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/include/asm/pmu.h [new file with mode: 0644]
arch/arm/kernel/Makefile
arch/arm/kernel/pmu.c [new file with mode: 0644]