summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2024-03-26 13:03:38 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2024-03-29 05:12:14 +0300
commite5e1a3aa56773d55dfb71c4d58176bc19ecfa739 (patch)
tree54393377c996ac3fece9b20b2d9cc5c008fac3db /tools/perf/scripts/python
parente8742081db7d01f980c6161ae1e8a1dbc1e30979 (diff)
downloadlinux-e5e1a3aa56773d55dfb71c4d58176bc19ecfa739.tar.xz
selftests/bpf: Use connect_fd_to_fd in bpf_tcp_ca
To simplify the code, use BPF selftests helper connect_fd_to_fd() in bpf_tcp_ca.c instead of open-coding it. This helper is defined in network_helpers.c, and exported in network_helpers.h, which is already included in bpf_tcp_ca.c. Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Link: https://lore.kernel.org/r/e105d1f225c643bee838409378dd90fd9aabb6dc.1711447102.git.tanggeliang@kylinos.cn Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions