diff options
author | Mark Rutland <mark.rutland@arm.com> | 2022-09-30 12:18:42 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-07 16:16:19 +0000 |
commit | ad51b5043bb39e0d715e8ad910fa5ac899ebc70b (patch) | |
tree | 25319060600e9973c6489efb7eee4046ab1c8702 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 05da178ce0aa152f0592e10fa874054187f3621b (diff) |
arm_pmu: acpi: factor out PMU<->CPU association
A subsequent patch will rework the ACPI probing of PMUs, and we'll need
to associate a CPU with a PMU in two separate paths.
Factor out the association logic into a helper function so that it can
be reused.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Pierre Gondois <pierre.gondois@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-and-tested-by: Pierre Gondois <pierre.gondois@arm.com>
Link: https://lore.kernel.org/r/20220930111844.1522365-2-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions