aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMagnus Karlsson <[email protected]>2023-05-16 12:31:00 +0200
committerAlexei Starovoitov <[email protected]>2023-05-16 22:31:51 -0700
commitd2e541494935a659b67e51aa3d1945bb3b799c4e (patch)
tree64013e7582f52ec57ea55b29efe08c96b026e5c5 /tools/perf/scripts/python/sctop.py
parent0697e4394210b9f7d83c32c9236a47fdeddf9ac0 (diff)
selftests/xsk: do not change XDP program when not necessary
Do not change the XDP program for the Tx thread when not needed. It was erroneously compared to the XDP program for the Rx thread, which is always going to be different, which meant that the code made unnecessary switches to the same program it had before. This did not affect functionality, just performance. 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/sctop.py')
0 files changed, 0 insertions, 0 deletions