diff options
author | 2024-04-26 00:17:24 +0800 | |
---|---|---|
committer | 2024-04-25 14:09:05 -0700 | |
commit | 7eb4f66b38069eec9c86c9d115f0bba1cf73ef2c (patch) | |
tree | 90f30033f73d8801ca45d1ac453134c80b65b4db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: add mrtt and srtt as BPF_SOCK_OPS_RTT_CB args (diff) | |
download | wireguard-linux-7eb4f66b38069eec9c86c9d115f0bba1cf73ef2c.tar.xz wireguard-linux-7eb4f66b38069eec9c86c9d115f0bba1cf73ef2c.zip |
selftests/bpf: extend BPF_SOCK_OPS_RTT_CB test for srtt and mrtt_us
Because srtt and mrtt_us are added as args in bpf_sock_ops at
BPF_SOCK_OPS_RTT_CB, a simple check is added to make sure they are both
non-zero.
$ ./test_progs -t tcp_rtt
#373 tcp_rtt:OK
Summary: 1/0 PASSED, 0 SKIPPED, 0 FAILED
Suggested-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Philo Lu <lulie@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240425161724.73707-3-lulie@linux.alibaba.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions