aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorMagnus Karlsson <[email protected]>2021-09-07 09:19:18 +0200
committerDaniel Borkmann <[email protected]>2021-09-10 21:15:31 +0200
commit55be575dc13ccfc9bf27ebb5af938b70206a9eb5 (patch)
tree227284acb6e7b2252cf792e3ca5fb0a26de408e0 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent1856c24db0a8c51122b7b87909a98f379309ff69 (diff)
selftests: xsk: Replace second_step global variable
Replace the second_step global variable with a test specification variable called total_steps that a test can be set to indicate how many times the packet stream should be sent without reinitializing any sockets. This eliminates test specific code in the test runner around the bidirectional test. The total_steps variable is 1 by default as most tests only need a single round of packets. Signed-off-by: Magnus Karlsson <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Maciej Fijalkowski <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions