aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2024-06-21 10:16:00 +0800
committerAlexei Starovoitov <[email protected]>2024-06-20 20:42:44 -0700
commitbbca57aa378b43d25af2ec360b3e8bc4185d65cf (patch)
tree94814a35d74d8f74e43765e3adc758d201a1d9dc /tools/perf/scripts/python/parallel-perf.py
parent08a5206240d3763e0c6d91a9a4a9bfbb8fc9600c (diff)
selftests/bpf: Add client_socket helper
This patch extracts a new helper client_socket() from connect_to_fd_opts() to create the client socket, but don't connect to the server. Then connect_to_fd_opts() can be implemented using client_socket() and connect_fd_to_addr(). This helper can be used in connect_to_addr() too, and make "noconnect" opts useless. Acked-by: Eduard Zingerman <[email protected]> Signed-off-by: Geliang Tang <[email protected]> Link: https://lore.kernel.org/r/4169c554e1cee79223feea49a1adc459d55e1ffe.1718932493.git.tanggeliang@kylinos.cn Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions