diff options
author | Mark Rutland <mark.rutland@arm.com> | 2025-02-18 14:39:58 -0600 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-03-01 05:08:10 +0000 |
commit | 4b0567ad0be52b9e7a36de94193b89e94487363f (patch) | |
tree | 67b15f88f5235c0732ced02f6ef9088f58a6adb1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dcca27bc1eccb9abc2552aab950b18a9742fb8e7 (diff) |
perf: arm_pmuv3: Don't disable counter in armv8pmu_enable_event()
Currently armv8pmu_enable_event() starts by disabling the event counter
it has been asked to enable. This should not be necessary as the counter
(and the PMU as a whole) should not be active when
armv8pmu_enable_event() is called.
Remove the redundant call to armv8pmu_disable_event_counter(). At the
same time, remove the comment immeditately above as everything it says
is obvious from the function names below.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Tested-by: James Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250218-arm-brbe-v19-v20-3-4e9922fc2e8e@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions