aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorDoug Smythies <doug.smythies@gmail.com>2020-03-26 13:36:37 -0700
committerLen Brown <len.brown@intel.com>2020-09-03 13:55:17 -0400
commit9aefc2cda6353f48708415d9adc5dff4deb73412 (patch)
tree0636e3df695c62f8c14b4ac5bdc56c38800c771e /tools/power
parenttools/power turbostat: Print /dev/cpu_dma_latency (diff)
downloadlinux-dev-9aefc2cda6353f48708415d9adc5dff4deb73412.tar.xz
linux-dev-9aefc2cda6353f48708415d9adc5dff4deb73412.zip
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: Doug Smythies <dsmythies@telus.net> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/x86/turbostat/turbostat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 4c679568fda4..4edad3fc760a 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -3530,9 +3530,6 @@ dump_sysfs_cstate_config(void)
int state;
char *sp;
- if (!DO_BIC(BIC_sysfs))
- return;
-
if (access("/sys/devices/system/cpu/cpuidle", R_OK)) {
fprintf(outf, "cpuidle not loaded\n");
return;