diff options
author | Magnus Karlsson <[email protected]> | 2023-05-16 12:31:03 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-05-16 22:31:51 -0700 |
commit | 7a8a6762822a1f5249eec356e7ea31f98161fba0 (patch) | |
tree | e1a367f48b8ebdfdc893a922d5c0bccfe87e52cd /tools/perf/scripts/python/stat-cpi.py | |
parent | feb973a9094ff92fb8c141be5d2e762f9ab36a7a (diff) |
selftests/xsk: dump packet at error
Dump the content of the packet when a test finds that packets are
received out of order, the length is wrong, or some other packet
error. Use the already existing pkt_dump function for this and call it
when the above errors are detected. Get rid of the command line option
for dumping packets as it is not useful to print out thousands of
good packets followed by the faulty one you would like to see.
Signed-off-by: Magnus Karlsson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions