Skip to content

Commit

Permalink
tools/power/turbostat: Enable the C-state Pre-wake printing
Browse files Browse the repository at this point in the history
[ Upstream commit b61b7d8 ]

Currently the C-state Pre-wake will not be printed due to the
probe has not been invoked. Invoke the probe function accordingly.

Fixes: aeb01e6 ("tools/power turbostat: Print the C-state Pre-wake settings")
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
yu-chen-surf authored and gregkh committed Nov 28, 2023
1 parent b309f56 commit 8c7037d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/power/x86/turbostat/turbostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -5790,6 +5790,7 @@ void process_cpuid()
rapl_probe(family, model);
perf_limit_reasons_probe(family, model);
automatic_cstate_conversion_probe(family, model);
prewake_cstate_probe(family, model);

check_tcc_offset(model_orig);

Expand Down

0 comments on commit 8c7037d

Please sign in to comment.