diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2025-08-20 16:45:33 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-09-18 14:35:54 +0100 |
commit | f8f89e8cf3d668a40106444276d8c448c114e963 (patch) | |
tree | 4fcb79b296dcca0cc6ca317d1048e97fb398c85b /scripts/kernel-doc.py | |
parent | 00d7a1af5ab58d89c2f0af27485b2d710c862dfc (diff) |
perf: arm_pmuv3: Factor out PMCCNTR_EL0 use conditions
PMCCNTR_EL0 is preferred for counting CPU_CYCLES under certain
conditions. Factor out the condition check to a separate function
for further extension. Add documents for better understanding.
No functional changes intended.
Reviewed-by: James Clark <james.clark@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions