aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2021-03-30 00:43:00 +0200
committerAlexei Starovoitov <[email protected]>2021-03-30 09:24:38 -0700
commit9f33df73a929ed91dddad036f518d690b3094eda (patch)
tree795a292bd3d7e5afc891a77e4e4c7a9d19828695 /tools/perf/scripts/python/net_dropmonitor.py
parent05d817031ff9686a8206039b19e37616cf9e1d44 (diff)
selftests: xsk: Don't call worker_pkt_dump() for stats test
For TEST_TYPE_STATS, worker_pkt_validate() that places frames onto pkt_buf is not called. Therefore, when dump mode is set, don't call worker_pkt_dump() for mentioned test type, so that it won't crash on pkt_buf() access. Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions