diff options
author | Len Brown <len.brown@intel.com> | 2017-01-07 22:40:23 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-02-25 16:52:31 -0500 |
commit | 8f6196c192f6393823e632bfb927ff1572369875 (patch) | |
tree | 95669c1cd5d0a8154b864022d6e911b040ed64b6 /tools | |
parent | 71616c8e936a6dd541f0627d7bf4ff09971d8ccb (diff) |
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; } |