diff options
author | Andrew Jones <drjones@redhat.com> | 2021-05-31 12:33:41 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-06-22 08:51:28 +0100 |
commit | 94e9223c06bece9165a36f0f56bac3552a45cbfc (patch) | |
tree | 1f364fe8028d3eb5b8783f5d79a5bd36a3c4afdc /tools/perf/scripts/python/syscall-counts.py | |
parent | 2f9ace5d4557f8ceea07969d6214c320f5e50c0c (diff) |
KVM: arm64: selftests: get-reg-list: Prepare to run multiple configs at once
We don't want to have to create a new binary for each vcpu config, so
prepare to run the test for multiple vcpu configs in a single binary.
We do this by factoring out the test from main() and then looping over
configs. When given '--list' we still never print more than a single
reg-list for a single vcpu config though, because it would be confusing
otherwise.
No functional change intended.
Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Ricardo Koller <ricarkol@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210531103344.29325-3-drjones@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions