diff options
author | Len Brown <len.brown@intel.com> | 2017-02-21 23:21:13 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-03-01 00:14:24 -0500 |
commit | dd778a5e6bbd0f52f34c61ae9b42b725c5f22398 (patch) | |
tree | 24821d73cfa4b14117ec23e51d72e9717127a25b /scripts/coccinelle | |
parent | 4e4e1e7c6eaf387f8ec803f37f154fdd60e303c0 (diff) | |
download | op-kernel-dev-dd778a5e6bbd0f52f34c61ae9b42b725c5f22398.zip op-kernel-dev-dd778a5e6bbd0f52f34c61ae9b42b725c5f22398.tar.gz |
tools/power turbostat: support "--hide C1" etc.
Originally, the only way to hide the sysfs C-state statistics columns
was with "--hide sysfs". This was because we process "--hide" before
we probe for those columns.
hack --hide to remember deferred hide requests, and apply
them when sysfs is probed.
"--hide sysfs" is still available as short-hand to refer to
the entire group of counters.
The down-side of this change is that we no longer error check for
bogus --hide column names. But the user will quickly figure that
out if a column they mean to hide is still there...
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions