commit | 0362337968ad252e6563fff131906a43450d8940 | [log] [tgz] |
---|---|---|
author | Zhang Rui <rui.zhang@intel.com> | Sat May 17 17:35:17 2025 +0800 |
committer | Len Brown <len.brown@intel.com> | Sun Jun 08 14:10:16 2025 -0400 |
tree | fb3c1e9736d469b703aff1073fd847e83dee6ba0 | |
parent | 1ab2e19b4c52ee08700938d52024d85bd15c9721 [diff] |
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>