Trace TCP connects and show connection latency.
origin from:
https://github.com/iovisor/bcc/blob/master/libbpf-tools/tcpconnlat.bpf.c
(just replace the path as yours)
Compile:
docker run -it -v /home/yunwei/coding/eunomia-bpf/bpftools/examples/tcpconnlat:/src yunwei37/ebpm:latest
Run:
sudo ./ecli run bpftools/examples/tcpconnlat/package.json
TODO: support union in C