OSDN Git Service

tools/power turbostat: hide SKL counters, when not requested
authorLen Brown <len.brown@intel.com>
Sun, 21 May 2017 00:11:55 +0000 (20:11 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 24 Jun 2017 03:52:23 +0000 (20:52 -0700)
commita99d87306f83d2a97c8c7e854b6583c4037ecf75
treedb966e4d8dd7f5db5211151a0e9e91b3d7108d47
parent3c2993b8c6143d8a5793746a54eba8f86f95240f
tools/power turbostat: hide SKL counters, when not requested

Skylake has some new counters, and they were erroneously
exempt  from --show and --hide

eg.

turbostat  --quiet --show CPU
CPU Totl%C0 Any%C0 GFX%C0 CPUGFX%
- 116.73 90.56 85.69 79.00
0 117.78 91.38 86.47 79.71
2
1
3

is now

CPU
-
0
2
1
3

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