tools/power turbostat: bug fixes to --add, --show/--hide features
authorLen Brown <len.brown@intel.com>
Fri, 27 Jan 2017 05:50:45 +0000 (00:50 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 1 Mar 2017 05:14:13 +0000 (00:14 -0500)
commit0f47c08d8ccf8252a5c007502919bdc2126ffb1f
tree9bf2ec9195f3dbd96c80cfa3fcec2ec20624daff
parent008d396eb219ee5a1c98c9ef01c35752d35f0d6c
tools/power turbostat: bug fixes to --add, --show/--hide features

Fix a bug with --add, where the title of the column
is un-initialized if not specified by the user.

The initial implementation of --show and --hide
neglected to handle the pc8/pc9/pc10 counters.

Fix a bug where "--show Core" only worked with --debug

Reported-by: Wendy Wang <wendy.wang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c