diff options
| author | Len Brown <len.brown@intel.com> | 2026-03-07 21:43:11 -0500 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2026-03-17 23:10:23 -0400 |
| commit | b8ead30e2b2c7f32c8d2782e805160b110766592 (patch) | |
| tree | 4df076caf7518c49dc2f34af933007e27e609d6d /include/net/phy/git@git.tavy.me:linux-stable.git | |
| parent | 57d2371d52be1d574b33382bfbf8052485b99d8b (diff) | |
tools/power turbostat: Fix swidle header vs data display
I changed my mind about displaying swidle statistics,
which are "added counters". Recently I reverted the
column headers to 8-columns, but kept print_decimal_value()
padding out to 16-columns for all 64-bit counters.
Simplify by keeping print_decimial_value() at %lld -- which
will often fit into 8-columns, and live with the fact
that it can overflow and shift the other columns,
which continue to tab-delimited.
This is a better compromise than inserting a bunch
of space characters that most users don't like.
Fixes: 1a23ba6a1ba2 ("tools/power turbostat: Print wide names only for RAW 64-bit columns")
Reported-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/net/phy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
