Skip to content

Commit 28c59ae

Browse files
praritspandruvada
authored andcommitted
tools/power/x86/intel-speed-select: Fix CLX-N package information output
On CLX-N the perf-profile output is missing the package, die, and cpu output. On CLX-N the pkg_dev struct will never be evaluated by the core code so pkg_dev.processed is always 0 and the package, die, and cpu information is never output. Set the pkg_dev.processed flag to 1 for CLX-N processors. Signed-off-by: Prarit Bhargava <[email protected]> Signed-off-by: Srinivas Pandruvada <[email protected]> Cc: [email protected] Cc: Srinivas Pandruvada <[email protected]> Cc: [email protected]
1 parent 3d904f0 commit 28c59ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/power/x86/intel-speed-select/isst-config.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,7 @@ static void dump_clx_n_config_for_cpu(int cpu, void *arg1, void *arg2,
11691169

11701170
ctdp_level = &clx_n_pkg_dev.ctdp_level[0];
11711171
pbf_info = &ctdp_level->pbf_info;
1172+
clx_n_pkg_dev.processed = 1;
11721173
isst_ctdp_display_information(cpu, outf, tdp_level, &clx_n_pkg_dev);
11731174
free_cpu_set(ctdp_level->core_cpumask);
11741175
free_cpu_set(pbf_info->core_cpumask);

0 commit comments

Comments
 (0)