]> 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)
commit7608f67e9bdb732cf7017a84a4ba9479197c090e
tree36d1c128c49aad47833a2923046ffce1915ec6bf
parent75225607544e8861f7c089000a66d3ddace12661
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