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:09 +0200
committerDaniel Borkmann <[email protected]>2021-09-10 21:15:30 +0200
commited7b74dc777777254a97de3e18e5dcbcebf3f015 (patch)
treea10a0a2747ac49a16b0d5b63ffd2ab0d01fa27a3 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent0b46b755056043dccfe078b96b256502b88f2464 (diff)
selftests: xsk: Simplify xsk and umem arrays
Simplify the xsk_info and umem_info allocation by allocating them upfront in an array, instead of allocating an array of pointers to future creations of these. Allocating them upfront also has the advantage that configuration information can be stored in these structures instead of relying on global variables. With the previous structure, xsk_info and umem_info were created too late to be able to store most configuration information. This will be used to eliminate most global variables in later patches in this series. 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