Commit 5cc6323c authored by Len Brown's avatar Len Brown

tools/power turbostat: line up headers when -M is used

The -M option adds an 18-column item, and the header
needs to be wide enough to keep the header aligned
with the columns.
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent d8ebb442
...@@ -345,7 +345,7 @@ void print_header(void) ...@@ -345,7 +345,7 @@ void print_header(void)
if (extra_delta_offset64) if (extra_delta_offset64)
outp += sprintf(outp, "\tCOUNT 0x%03X", extra_delta_offset64); outp += sprintf(outp, "\tCOUNT 0x%03X", extra_delta_offset64);
if (extra_msr_offset32) if (extra_msr_offset32)
outp += sprintf(outp, "\tMSR 0x%03X", extra_msr_offset32); outp += sprintf(outp, "\t MSR 0x%03X", extra_msr_offset32);
if (extra_msr_offset64) if (extra_msr_offset64)
outp += sprintf(outp, "\tMSR 0x%03X", extra_msr_offset64); outp += sprintf(outp, "\tMSR 0x%03X", extra_msr_offset64);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment