diff options
author | Sean Christopherson <seanjc@google.com> | 2024-01-09 15:02:42 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-01-30 15:29:41 -0800 |
commit | c85e986716b03bccfec2e5a577cc1aab4f172ffd (patch) | |
tree | 304b566b875332d3521a8bafd03e0d08e5c0a4a2 /tools/perf/scripts/python | |
parent | b55e7adf633a8a13d5ede57b77509ea8fa157a56 (diff) |
KVM: selftests: Add a helper to query if the PMU module param is enabled
Add a helper to probe KVM's "enable_pmu" param, open coding strings in
multiple places is just asking for false negatives and/or runtime errors
due to typos.
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20240109230250.424295-23-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions