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:20 +0200
committerDaniel Borkmann <[email protected]>2021-09-10 21:15:31 +0200
commitaf6731d1e1c69b4ee32063acd51ec86ece0a1ced (patch)
treeb9b29972bfed1dafd19dfd177061fea658d5135a /tools/perf/scripts/python/syscall-counts-by-pid.py
parent85c6c95739703620abb75e5fcc46ad3068c50f48 (diff)
selftests: xsk: Make xdp_flags and bind_flags local
Make xdp_flags and bind_flags local instead of global by moving them into the interface object. These flags decide if the socket should be created in SKB mode or in DRV mode and therefore they are sticky and will survive a test_spec_reset. Since every test is first run in SKB mode then in DRV mode, this change only happens once. With this change, the configured_mode global variable can also be erradicated. The first test_spec_init() also becomes superfluous and can be eliminated. 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