libbpf-tools: fix fentry prog in tcprtt (#3757)
authorchendotjs <chendotjs@gmail.com>
Tue, 4 Jan 2022 19:26:15 +0000 (03:26 +0800)
committerGitHub <noreply@github.com>
Tue, 4 Jan 2022 19:26:15 +0000 (11:26 -0800)
commitd859879d2a61dfd5b601a2196fe7f46811f9ba6b
treef160e2b04f1dd7c215a92fcdf82f307848872094
parent8cac3fd28585d03b19ce26d2cff20ea628250822
libbpf-tools: fix fentry prog in tcprtt (#3757)

This commit fixes judgement if tcp_rcv_established fentry exists and
fentry prog by introducing BPF_CORE_READ.

Signed-off-by: chendotjs <chendotjs@gmail.com>
libbpf-tools/tcprtt.bpf.c
libbpf-tools/tcprtt.c