summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2024-12-10 17:15:17 +0300
committerWill Deacon <will@kernel.org>2024-12-10 18:57:24 +0300
commitf2368a209a713267b68f7a4906a5012a29925410 (patch)
treed7ed6433fbd5a5c1e07ca4510d5dcb8f54f142c9 /tools/perf/scripts/python/gecko.py
parent41729809ac8504abb7ac757105c6db2c2fbbc466 (diff)
downloadlinux-f2368a209a713267b68f7a4906a5012a29925410.tar.xz
drivers/perf: hisi: Don't update the associated_cpus on CPU offline
Event will be scheduled on CPU of hisi_pmu::on_cpu which is selected from the intersection of hisi_pmu::associated_cpus and online CPUs. So the associated_cpus don't need to be maintained with online CPUs. This will save one update operation if one associated CPU is offlined. Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Link: https://lore.kernel.org/r/20241210141525.37788-3-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