Skip to content

Commit

Permalink
tools/power turbostat: show package number, even without --debug
Browse files Browse the repository at this point in the history
On multi-package systems, the "Package" column was being displayed
only if --debug was used.  Show it always.

Signed-off-by: Len Brown <[email protected]>
  • Loading branch information
lenb committed Mar 1, 2017
1 parent dd778a5 commit 7da6e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/power/x86/turbostat/turbostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7da6e3e

Please sign in to comment.