diff options
author | Sean Christopherson <seanjc@google.com> | 2025-01-18 02:42:01 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-02-12 19:34:56 +0300 |
commit | e327630e2a0c2540dc97913bacb60b5b88151994 (patch) | |
tree | 1b545cadf402d20926467a9e07632b0b4ee656a5 /tools/perf/scripts/python/task-analyzer.py | |
parent | 8752e2b4a2b770932c3f99dcf626cb326b02d518 (diff) | |
download | linux-e327630e2a0c2540dc97913bacb60b5b88151994.tar.xz |
KVM: selftests: Remove dead code in Intel PMU counters test
Drop the local "nr_arch_events" in the Intel PMU counters test as the test
asserts that "nr_arch_events <= NR_INTEL_ARCH_EVENTS", and then sets
nr_arch_events to the max of the two. I.e. nr_arch_events is guaranteed
to be NR_INTEL_ARCH_EVENTS for the meat of the test, just use
NR_INTEL_ARCH_EVENTS directly.
No functional change intended.
Link: https://lore.kernel.org/r/20250117234204.2600624-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions