summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2023-05-16 13:31:03 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-05-17 08:31:51 +0300
commit7a8a6762822a1f5249eec356e7ea31f98161fba0 (patch)
treee1a367f48b8ebdfdc893a922d5c0bccfe87e52cd /tools/perf/scripts/python
parentfeb973a9094ff92fb8c141be5d2e762f9ab36a7a (diff)
downloadlinux-7a8a6762822a1f5249eec356e7ea31f98161fba0.tar.xz
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 <magnus.karlsson@intel.com> Link: https://lore.kernel.org/r/20230516103109.3066-5-magnus.karlsson@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions