]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8aad3cd31ac7a4b6cd6b45ae9e379e395fafdae4
tree36d1c128c49aad47833a2923046ffce1915ec6bf
parentd8c6d76b24f47ebab70b4f0211b4401c9a4a2a33
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