diff options
author | Len Brown <len.brown@intel.com> | 2018-01-29 05:42:42 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2018-06-02 05:12:44 +0200 |
commit | 4bd1f8f21aceae12484a6b2cf3b935a715c75dec (patch) | |
tree | 0a9d60bbccdb8c00ce4fcb2fb1853d6885c05599 /tools | |
parent | tools/power turbostat: Build-in "Low Power Idle" counters support (diff) | |
download | linux-4bd1f8f21aceae12484a6b2cf3b935a715c75dec.tar.xz linux-4bd1f8f21aceae12484a6b2cf3b935a715c75dec.zip |
tools/power turbostat: Fix --hide Pk%pc10
The column header for PC10 residency is "Pk%pc10"
This is missing the 'g' that others have, eg Pkg%pc6,
to allow tab-delimited columns to fit into 8-columns.
However, --hide Pk%pc10 did not work, it was still looking for the 'g'.
This was confusing, because --list shows the correct "Pk%pc10"
Reported-by: Wendy Wang <wendy.wang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
-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 bfb0cec9618e..76c70c2a6f18 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -380,7 +380,7 @@ struct msr_counter bic[] = { { 0x0, "Pkg%pc7" }, { 0x0, "Pkg%pc8" }, { 0x0, "Pkg%pc9" }, - { 0x0, "Pkg%pc10" }, + { 0x0, "Pk%pc10" }, { 0x0, "CPU%LPI" }, { 0x0, "SYS%LPI" }, { 0x0, "PkgWatt" }, |