diff options
author | Doug Smythies <doug.smythies@gmail.com> | 2020-03-26 21:36:37 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2020-09-03 19:55:17 +0200 |
commit | 9aefc2cda6353f48708415d9adc5dff4deb73412 (patch) | |
tree | 0636e3df695c62f8c14b4ac5bdc56c38800c771e /tools/power | |
parent | tools/power turbostat: Print /dev/cpu_dma_latency (diff) | |
download | linux-9aefc2cda6353f48708415d9adc5dff4deb73412.tar.xz linux-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.c | 3 |
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; |