diff options
author | 2023-08-29 13:47:58 +0800 | |
---|---|---|
committer | 2023-09-27 22:14:20 +0800 | |
commit | 045acf6064c5567011163e97c28906e0a7791414 (patch) | |
tree | bb29ab91eefe090a18e934760ef32cf63991cef5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | tools/power/turbostat: Improve probe_platform_features() logic (diff) | |
download | wireguard-linux-045acf6064c5567011163e97c28906e0a7791414.tar.xz wireguard-linux-045acf6064c5567011163e97c28906e0a7791414.zip |
tools/power/turbostat: Relocate cstate probing code
Move all cstate probing related code into probe_cstates().
Note that dump_platform_info() actually dumps both MSR_PLATFORM_INFO and
MSR_IA32_POWER_CTL. MSR_PLATFORM_INFO is for pstate and
MSR_IA32_POWER_CTL is for cstate. So split dump_platform_info() and dump
MSR_IA32_POWER_CTL in probe_cstates().
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions