]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: print system config, unless --quiet
authorLen Brown <len.brown@intel.com>
Sat, 21 Jan 2017 07:26:00 +0000 (02:26 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 1 Mar 2017 05:14:12 +0000 (00:14 -0500)
commit81e5bb7fced631b6b2619d074b5db8220cedcc4e
tree8734df14d38fe6318578360a824b784c9379de3f
parent9d9bf08f84d9bdefa2b6fd99648946542a54bfe1
tools/power turbostat: print system config, unless --quiet

Some users want turbostat to tell them everything, by default.
Some users want turbostat to be quiet, by default.

I find that I'm in the 1st camp, and so I've never liked
needing to type the --debug parameter to decode the system
configuration.

So here we change the default and print the system configuration,
by default.  (The --debug option is now un-documented, though
it does still exist for debugging turbostat internals)

When you do not want to see the system configuration
header, use the new "--quiet" option.

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