summaryrefslogtreecommitdiffstats
path: root/arch/arm/oprofile/common.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-04-30 11:34:26 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-17 11:53:58 +0100
commit929f5199448a67d41bb249d58815ef77bcd53622 (patch)
treeedb796c49205561ef98abb73f340e900225146dc /arch/arm/oprofile/common.c
parent49e6a32f2f0876b6267584d9c7e0e213bca6e2b8 (diff)
downloadblackbird-obmc-linux-929f5199448a67d41bb249d58815ef77bcd53622.tar.gz
blackbird-obmc-linux-929f5199448a67d41bb249d58815ef77bcd53622.zip
ARM: 6071/1: perf-events: allow modules to query the number of hardware counters
For OProfile to initialise oprofilefs correctly, it needs to know the number of counters it can represent. This patch adds a function to the ARM perf-events backend to return the number of hardware counters available for the current PMU. Cc: Jamie Iles <jamie.iles@picochip.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/oprofile/common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud