summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2022-06-14 10:10:41 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-14 12:43:53 -0400
commitb3b7c6a6e80d8347a4a5a13a25fa314800f2cbbe (patch)
tree3254268f719d3fb347036380c8e2d1c66a99b401 /tools/perf/scripts/python
parentfcba483e82462830dd368951c0df03a95676f34d (diff)
downloadlinux-b3b7c6a6e80d8347a4a5a13a25fa314800f2cbbe.tar.gz
linux-b3b7c6a6e80d8347a4a5a13a25fa314800f2cbbe.zip
KVM: selftests: kvm_binary_stats_test: Fix index expressions
kvm_binary_stats_test accepts two arguments, the number of vms and number of vcpus. If these inputs are not equal then the test would likely crash for one reason or another due to using miscalculated indices for the vcpus array. Fix the index expressions by swapping the use of i and j. Signed-off-by: Andrew Jones <drjones@redhat.com> Message-Id: <20220614081041.2571511-1-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions