summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChen Yu <yu.c.chen@intel.com>2023-03-27 11:17:44 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-28 17:19:54 +0000
commit9b523bf810041c35d8c8105bb32102278c194f45 (patch)
tree062c9ea65671a017d4751daa66175f878742acde /tools
parentb866371f9032a037ff861358782757ad1d765411 (diff)
downloadlinux-9b523bf810041c35d8c8105bb32102278c194f45.tar.gz
linux-9b523bf810041c35d8c8105bb32102278c194f45.tar.bz2
linux-9b523bf810041c35d8c8105bb32102278c194f45.zip
tools/power/turbostat: Enable the C-state Pre-wake printing
[ Upstream commit b61b7d8c4c22c4298a50ae5d0ee88facb85ce665 ] Currently the C-state Pre-wake will not be printed due to the probe has not been invoked. Invoke the probe function accordingly. Fixes: aeb01e6d71ff ("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>
Diffstat (limited to 'tools')
-rw-r--r--tools/power/x86/turbostat/turbostat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 4e19bd2fa8b9..785de89077de 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -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);