tools/power turbostat: Fix --hide Pk%pc10
authorLen Brown <len.brown@intel.com>
Mon, 29 Jan 2018 04:42:42 +0000 (23:42 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 2 Jun 2018 03:12:44 +0000 (23:12 -0400)
commit4bd1f8f21aceae12484a6b2cf3b935a715c75dec
tree0a9d60bbccdb8c00ce4fcb2fb1853d6885c05599
parentbe0e54c4ebbf106571292ee97b445fd25bc3525b
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>
tools/power/x86/turbostat/turbostat.c