diff options
author | Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com> | 2012-07-20 15:18:07 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2012-11-09 11:37:25 +0000 |
commit | 7279adbd9bb8ef8ff669da50f0e84c65a14022b5 (patch) | |
tree | 53a45f7dcb7ccf6e0b7cbb6003fba02c75622aaf /lib | |
parent | ed6f2a522398c26559f4da23a80aa6195e6284c7 (diff) |
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 'lib')
0 files changed, 0 insertions, 0 deletions