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: Len Brown <len.brown@intel.com>
这个提交包含在:
Len Brown
2016-12-01 21:14:38 -05:00
父节点 d8ebb44226
当前提交 5cc6323c79

查看文件

@@ -345,7 +345,7 @@ void print_header(void)
if (extra_delta_offset64)
outp += sprintf(outp, "\tCOUNT 0x%03X", extra_delta_offset64);
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)
outp += sprintf(outp, "\tMSR 0x%03X", extra_msr_offset64);