projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd778a5
)
tools/power turbostat: show package number, even without --debug
author
Len Brown
<len.brown@intel.com>
Wed, 22 Feb 2017 04:43:41 +0000
(23:43 -0500)
committer
Len Brown
<len.brown@intel.com>
Wed, 1 Mar 2017 05:14:25 +0000
(
00:14
-0500)
On multi-package systems, the "Package" column was being displayed
only if --debug was used. Show it always.
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c
patch
|
blob
|
history
diff --git
a/tools/power/x86/turbostat/turbostat.c
b/tools/power/x86/turbostat/turbostat.c
index 596259f48f5023f9e674b39a56259e8ef83147d5..2c674ad5ab803950a8ce1380560a5c7a23a7c843 100644
(file)
--- a/
tools/power/x86/turbostat/turbostat.c
+++ b/
tools/power/x86/turbostat/turbostat.c
@@
-4294,7
+4294,7
@@
void topology_probe()
if (debug > 1)
fprintf(outf, "max_package_id %d, sizing for %d packages\n",
max_package_id, topo.num_packages);
- if (
debug &&
!summary_only && topo.num_packages > 1)
+ if (!summary_only && topo.num_packages > 1)
BIC_PRESENT(BIC_Package);
topo.num_threads_per_core = max_siblings;