projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71616c8
)
tools/power turbostat: Baytrail: remove debug line in quiet mode
author
Len Brown
<len.brown@intel.com>
Sun, 8 Jan 2017 03:40:23 +0000
(22:40 -0500)
committer
Len Brown
<len.brown@intel.com>
Sat, 25 Feb 2017 21:52:31 +0000
(16:52 -0500)
Without --debug, a debug line was printed on Baytrail:
SLM BCLK: 83.3 Mhz
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/power/x86/turbostat/turbostat.c
b/tools/power/x86/turbostat/turbostat.c
index 1b762f67e3e239b8e9385bb27d45e838bb3c29e1..9b35c9bb04890ba571debde069fd4fd795e05fad 100644
(file)
--- 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;
}