diff options
author | Robin Murphy <[email protected]> | 2024-02-06 10:27:56 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-02-09 17:34:35 +0000 |
commit | e7e8fa8e82afddb3c9ff56d6a7030558776c5b1c (patch) | |
tree | 411792954c60a9288acea58118175554c1ba4135 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7e6a3c3f85886f5e54dba5eb3bee7f5400685e95 (diff) |
perf/arm_cspmu: Simplify counter reset
arm_cspmu_reset_counters() inherently also stops them since it is
writing 0 to PMCR.E, so there should be no need to do that twice.
Also tidy up the reset routine itself for consistency with the start
and stop routines, and to be clear at first glance that it is simply
writing a constant value.
Reviewed-by: Ilkka Koskinen <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Reviewed-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/3105815327989f6bb7bb068994d0eb4096b4ef64.1706718007.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions