aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2025-05-17 17:44:50 +0800
committerLen Brown <len.brown@intel.com>2025-06-08 14:10:16 -0400
commitff3d019e98db83ce2b5eb395333bc2518b37f4f0 (patch)
treed97186cbb9f98397b42914073a0df772a17fcfcd /tools/perf/scripts/python/exported-sql-viewer.py
parenttools/power turbostat: Clean up add perf/msr counter logic (diff)
downloadlinux-rng-ff3d019e98db83ce2b5eb395333bc2518b37f4f0.tar.xz
linux-rng-ff3d019e98db83ce2b5eb395333bc2518b37f4f0.zip
tools/power turbostat: Allow probing RAPL with platform_features->rapl_msrs cleared
platform_features->rapl_msrs describes the RAPL MSRs supported. While RAPL Perf counters can be exposed from different kernel backend drivers, e.g. RAPL MSR I/F driver, or RAPL TPMI I/F driver. Thus, turbostat should first blindly probe all the available RAPL Perf counters, and falls back to the RAPL MSR counters if they are listed in platform_features->rapl_msrs. With this, platforms that don't have RAPL MSRs can clear the platform_features->rapl_msrs bits and use RAPL Perf counters only. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-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