diff options
author | Len Brown <len.brown@intel.com> | 2017-01-08 04:40:23 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-02-25 22:52:31 +0100 |
commit | 8f6196c192f6393823e632bfb927ff1572369875 (patch) | |
tree | 95669c1cd5d0a8154b864022d6e911b040ed64b6 /tools | |
parent | tools/power turbostat: decode Baytrail CC6 and MC6 demotion configuration (diff) | |
download | linux-8f6196c192f6393823e632bfb927ff1572369875.tar.xz linux-8f6196c192f6393823e632bfb927ff1572369875.zip |
tools/power turbostat: Baytrail: remove debug line in quiet mode
Without --debug, a debug line was printed on Baytrail:
SLM BCLK: 83.3 Mhz
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/power/x86/turbostat/turbostat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 1b762f67e3e2..9b35c9bb0489 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -3388,7 +3388,8 @@ double slm_bclk(void) } freq = slm_freq_table[i]; - fprintf(outf, "SLM BCLK: %.1f Mhz\n", freq); + if (debug) + fprintf(outf, "SLM BCLK: %.1f Mhz\n", freq); return freq; } |