tools/power turbostat: Add --list option to show available header names
authorLen Brown <len.brown@intel.com>
Wed, 15 Feb 2017 22:15:11 +0000 (17:15 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 1 Mar 2017 05:14:22 +0000 (00:14 -0500)
commitc8ade3616a1a5cf7767c0338d2b02007796f5d88
tree36d1c128c49aad47833a2923046ffce1915ec6bf
parent218f0e8d5c388767be9c78fd2c5bc0a6f416d6d0
tools/power turbostat: Add --list option to show available header names

It is handy to know the list of column header names,
so that they can be used with --add and --skip

The new --list option shows them:

sudo ./turbostat --list --hide sysfs
,Core,CPU,Avg_MHz,Busy%,Bzy_MHz,TSC_MHz,IRQ,SMI,CPU%c1,CPU%c3,CPU%c6,CPU%c7,CoreTmp,PkgTmp,GFX%rc6,GFXMHz,PkgWatt,CorWatt,GFXWatt

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