diff options
author | 2025-05-17 17:35:17 +0800 | |
---|---|---|
committer | 2025-06-08 14:10:16 -0400 | |
commit | 0362337968ad252e6563fff131906a43450d8940 (patch) | |
tree | fb3c1e9736d469b703aff1073fd847e83dee6ba0 /scripts/gdb/linux/utils.py | |
parent | tools/power turbostat: Introduce add_msr_counter() (diff) | |
download | linux-rng-0362337968ad252e6563fff131906a43450d8940.tar.xz linux-rng-0362337968ad252e6563fff131906a43450d8940.zip |
tools/power turbostat: Clean up add perf/msr counter logic
Increase the code readability by moving the no_perf/no_msr flag and the
cai->perf_name/cai->msr sanity checks into the counter probe functions.
No functional change.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions