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