diff options
| author | Philo Lu <[email protected]> | 2024-04-26 00:17:24 +0800 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-04-25 14:09:05 -0700 |
| commit | 7eb4f66b38069eec9c86c9d115f0bba1cf73ef2c (patch) | |
| tree | 90f30033f73d8801ca45d1ac453134c80b65b4db /tools/perf/scripts/python/stackcollapse.py | |
| parent | 48e2cd3e3dcfe04f212df4fb189fa04c2a87b980 (diff) | |
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 <[email protected]>
Signed-off-by: Philo Lu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions