diff options
author | Len Brown <len.brown@intel.com> | 2017-02-21 23:43:41 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-03-01 00:14:25 -0500 |
commit | 7da6e3e2125d24040b3648ddc61edf70eb533849 (patch) | |
tree | a7dcbb82157fdae4a317e743b04a80d1cb750250 | |
parent | dd778a5e6bbd0f52f34c61ae9b42b725c5f22398 (diff) |
tools/power turbostat: show package number, even without --debug
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>
-rw-r--r-- | tools/power/x86/turbostat/turbostat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 596259f48f50..2c674ad5ab80 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c | |||
@@ -4294,7 +4294,7 @@ void topology_probe() | |||
4294 | if (debug > 1) | 4294 | if (debug > 1) |
4295 | fprintf(outf, "max_package_id %d, sizing for %d packages\n", | 4295 | fprintf(outf, "max_package_id %d, sizing for %d packages\n", |
4296 | max_package_id, topo.num_packages); | 4296 | max_package_id, topo.num_packages); |
4297 | if (debug && !summary_only && topo.num_packages > 1) | 4297 | if (!summary_only && topo.num_packages > 1) |
4298 | BIC_PRESENT(BIC_Package); | 4298 | BIC_PRESENT(BIC_Package); |
4299 | 4299 | ||
4300 | topo.num_threads_per_core = max_siblings; | 4300 | topo.num_threads_per_core = max_siblings; |