Commit 9aefc2cd authored by Doug Smythies's avatar Doug Smythies Committed by Len Brown

tools/power turbostat: Always print idle in the system configuration header

If the --quiet option is not used, turbostat prints a useful system
configuration header during startup.

But inclusion of idle system configuration information in this header
is currently a function of inclusion in the columns chosen to be displayed.

Always list this idle system configuration.
Signed-off-by: default avatarDoug Smythies <dsmythies@telus.net>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent d76bb7a0
...@@ -3530,9 +3530,6 @@ dump_sysfs_cstate_config(void) ...@@ -3530,9 +3530,6 @@ dump_sysfs_cstate_config(void)
int state; int state;
char *sp; char *sp;
if (!DO_BIC(BIC_sysfs))
return;
if (access("/sys/devices/system/cpu/cpuidle", R_OK)) { if (access("/sys/devices/system/cpu/cpuidle", R_OK)) {
fprintf(outf, "cpuidle not loaded\n"); fprintf(outf, "cpuidle not loaded\n");
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment