]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f689262053f73fd72fd93bb03eed93aaaa8306f
treeaab08b367b905bb89a01ecac926ed2ae7e3e6358
parentdf2b3938c51cb8802109132feb87cd8a2cf726fe
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