diff options
author | Zhang Rui <rui.zhang@intel.com> | 2025-05-17 12:44:50 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2025-06-08 21:10:16 +0300 |
commit | ff3d019e98db83ce2b5eb395333bc2518b37f4f0 (patch) | |
tree | d97186cbb9f98397b42914073a0df772a17fcfcd /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0362337968ad252e6563fff131906a43450d8940 (diff) | |
download | linux-ff3d019e98db83ce2b5eb395333bc2518b37f4f0.tar.xz |
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