summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2024-12-10 17:15:21 +0300
committerWill Deacon <will@kernel.org>2024-12-10 18:57:24 +0300
commit32528b165ea1266ee25afe6a29be0107b3c5e76a (patch)
tree74ff9e0cff0b9d221eb6e376f4396a6ab846dbbe /tools/perf/scripts/python/gecko.py
parentc192026ceea793a73d4b54ed46dc1cfeb21d3853 (diff)
downloadlinux-32528b165ea1266ee25afe6a29be0107b3c5e76a.tar.xz
drivers/perf: hisi: Add a common function to retrieve topology from firmware
Currently each type of uncore PMU driver uses almost the same routine and the same firmware interface (or properties) to retrieve the topology information, then reset the unused IDs to -1. Extract the common parts to the framework in hisi_uncore_pmu_init_topology(). Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Link: https://lore.kernel.org/r/20241210141525.37788-7-yangyicong@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions