summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/perf_event_cpu.c
diff options
context:
space:
mode:
authorSudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>2012-07-20 15:18:07 +0100
committerWill Deacon <will.deacon@arm.com>2012-11-09 11:37:25 +0000
commit7279adbd9bb8ef8ff669da50f0e84c65a14022b5 (patch)
tree53a45f7dcb7ccf6e0b7cbb6003fba02c75622aaf /arch/arm/kernel/perf_event_cpu.c
parented6f2a522398c26559f4da23a80aa6195e6284c7 (diff)
downloadblackbird-op-linux-7279adbd9bb8ef8ff669da50f0e84c65a14022b5.tar.gz
blackbird-op-linux-7279adbd9bb8ef8ff669da50f0e84c65a14022b5.zip
ARM: perf: check ARMv7 counter validity on a per-pmu basis
Multi-cluster ARMv7 systems may have CPU PMUs with different number of counters. This patch updates armv7_pmnc_counter_valid so that it takes a pmu argument and checks the counter validity against that. We also remove a number of redundant counter checks whether the current PMU is not easily retrievable. Signed-off-by: Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel/perf_event_cpu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud