tools/power/turbostat: Enable the C-state Pre-wake printing
authorChen Yu <yu.c.chen@intel.com>
Mon, 27 Mar 2023 03:17:44 +0000 (11:17 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:18 +0000 (22:14 +0800)
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>
tools/power/x86/turbostat/turbostat.c

index fb6c6dd..03d4f09 100644 (file)
@@ -5794,6 +5794,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);