diff options
| author | Zhang Rui <[email protected]> | 2025-05-17 07:58:51 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2025-06-08 18:10:16 +0000 |
| commit | 1ab2e19b4c52ee08700938d52024d85bd15c9721 (patch) | |
| tree | 5e9a3fe29633be758b17e32438a99e479267fd18 /drivers/fpga/tests | |
| parent | tools/power turbostat: Remove add_msr_perf_counter_() (diff) | |
| download | kernel-1ab2e19b4c52ee08700938d52024d85bd15c9721.tar.gz kernel-1ab2e19b4c52ee08700938d52024d85bd15c9721.zip | |
tools/power turbostat: Introduce add_msr_counter()
probe_rapl_msr() is reused for probing RAPL MSR counters, cstate MSR
counters and MPERF/APERF/SMI MSR counters, thus its name is misleading.
Similar to add_perf_counter(), introduce add_msr_counter() to probe a
counter via MSR. Introduce wrapper function add_rapl_msr_counter() at
the same time to add extra check for Zero return value for specified
RAPL counters.
No functional change intended.
Signed-off-by: Zhang Rui <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/tests')
0 files changed, 0 insertions, 0 deletions
