summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2025-03-05 22:01:56 +0300
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2025-03-07 19:00:21 +0300
commitc49e805db30674293d6a595db52549addd9d611f (patch)
tree12e1d128b1b7e7c09bb00d5061041e45b12455d5 /tools/perf/scripts/python/task-analyzer.py
parentd74e6e29d2b29919253f625f0c560f4ca2606900 (diff)
downloadlinux-c49e805db30674293d6a595db52549addd9d611f.tar.xz
tools/power/x86/intel-speed-select: Fix the condition to check multi die system
Even when there is no die exported by CPUID leaf 0x1F, the kernel version after 6.9 will show non zero die_id in the sysfs. In that case maximum die_id can still match maximum power domain ID. So the condition to check if the power domain ID is same a die_id to prevent duplicate display doesn't hold true. The better condition is to check if the maximum die_id is more than the maximum package_id. If the die_id is exposed by CPUID leaf 0x1F, the maximum die_id will be more than maximum package_id. With this change tracking of max_punit_id is not used, so remove storing max_punit_id. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions