diff options
| author | Geliang Tang <[email protected]> | 2024-04-18 16:09:09 +0800 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-04-19 17:13:28 -0700 |
| commit | a2e4979536c440838794ee292955ce9ed55ad181 (patch) | |
| tree | 659e784263c0ca1f18aa6dc368796c50dc6e3c9a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 9851382fb3697efb2f4234d70596bd845b3af535 (diff) | |
selftests/bpf: Use start_server_addr in sk_assign
Include network_helpers.h in prog_tests/sk_assign.c, use the newly
added public helper start_server_addr() instead of the local defined
function start_server(). This can avoid duplicate code.
The code that sets SO_RCVTIMEO timeout as timeo_sec (3s) can be dropped,
since start_server_addr() sets default timeout as 3s.
Signed-off-by: Geliang Tang <[email protected]>
Link: https://lore.kernel.org/r/2af706ffbad63b4f7eaf93a426ed1076eadf1a05.1713427236.git.tanggeliang@kylinos.cn
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions