tools/power turbostat: Skip pc8, pc9, pc10 columns, if they are disabled
authorLen Brown <len.brown@intel.com>
Thu, 13 Aug 2020 23:18:22 +0000 (19:18 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 3 Sep 2020 17:58:38 +0000 (13:58 -0400)
commitc315a09b1b0f491c27d46e9d05f397023a44fb81
treeaab08b367b905bb89a01ecac926ed2ae7e3e6358
parente7af1ed3fa4756e8df8270a8635d852a94266061
tools/power turbostat: Skip pc8, pc9, pc10 columns, if they are disabled

Like we skip PC3 and PC6 columns when the package C-state limit
disables them, skip PC8/PC9/CP10 under analogous conditions.

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