Commit 4bd1f8f2 authored by Len Brown's avatar Len Brown

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: default avatarWendy Wang <wendy.wang@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent be0e54c4
...@@ -380,7 +380,7 @@ struct msr_counter bic[] = { ...@@ -380,7 +380,7 @@ struct msr_counter bic[] = {
{ 0x0, "Pkg%pc7" }, { 0x0, "Pkg%pc7" },
{ 0x0, "Pkg%pc8" }, { 0x0, "Pkg%pc8" },
{ 0x0, "Pkg%pc9" }, { 0x0, "Pkg%pc9" },
{ 0x0, "Pkg%pc10" }, { 0x0, "Pk%pc10" },
{ 0x0, "CPU%LPI" }, { 0x0, "CPU%LPI" },
{ 0x0, "SYS%LPI" }, { 0x0, "SYS%LPI" },
{ 0x0, "PkgWatt" }, { 0x0, "PkgWatt" },
......
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