summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>2025-11-05 11:22:48 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2025-11-07 02:23:00 +0300
commit38e36514fcb01ff1cce84cd77a93906f233a4cb8 (patch)
tree681e2ad860ce94f907279953c25448c21f77f0d4 /tools/perf/scripts/python/stackcollapse.py
parentb54a8e130c0204330de0787d81b28d2a0c9dc871 (diff)
downloadlinux-38e36514fcb01ff1cce84cd77a93906f233a4cb8.tar.xz
selftests/bpf: Systematically add SO_REUSEADDR in start_server_addr
Some tests have to stop/start a server multiple time with the same listening address. Doing so without SO_REUSADDR leads to failures due to the socket still being in TIME_WAIT right after the first instance stop/before the second instance start. Instead of letting each test manually set SO_REUSEADDR on their servers, it can be done automatically by start_server_addr for all tests (and without any major downside). Enforce SO_REUSEADDR in start_server_addr for all tests. Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com> Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://patch.msgid.link/20251105-start-server-soreuseaddr-v1-1-1bbd9c1f8d65@bootlin.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions