ARM: 6070/1: perf-events: add support for xscale PMUs
authorWill Deacon <will.deacon@arm.com>
Fri, 30 Apr 2010 10:33:33 +0000 (11:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 May 2010 10:53:57 +0000 (11:53 +0100)
commit49e6a32f2f0876b6267584d9c7e0e213bca6e2b8
tree4bf0191baf59163878396678dc514d519315aac3
parent181193f398e7d8da6b1196138f0e219709621743
ARM: 6070/1: perf-events: add support for xscale PMUs

The perf-events framework for ARM only supports v6 and v7 cores.

This patch adds support for xscale v1 and v2 PMUs to perf, based on the
OProfile drivers in arch/arm/oprofile/op_model_xscale.c

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/perf_event.c