[PATCH net-next v3] tcp: Add skb addr and sock addr to arguments of tracepoint tcp_probe.

2024-03-04 Thread fuyuanli
4 by ebpf, but which is not available in tcp_probe, so we can only use kprobe hooking tcp_rcv_established to get them. But we can use tcp_probe directly if skb addr and sock addr are available, which is more efficient. Signed-off-by: fuyuanli Reviewed-by: Jason Xing --- v3 Link: https

[PATCH net-next v2] tcp: Add skb addr and sock addr to arguments of tracepoint tcp_probe.

2024-03-03 Thread fuyuanli
ebpf, but which is not available in tcp_probe, so we can only use kprobe hooking tcp_rcv_esatblised to get them. But we can use tcp_probe directly if skb addr and sock addr are available, which is more efficient. Signed-off-by: fuyuanli Link: https://lore.kernel.org/netdev/20240229052813.GA23899

[PATCH] tcp: Add skb addr and sock addr to arguments of tracepoint tcp_probe.

2024-02-28 Thread fuyuanli
ebpf, but which is not available in tcp_probe, so we can only use kprobe hooking tcp_rcv_esatblised to get them. But we can use tcp_probe directly if skb addr and sock addr are available, which is more efficient. Signed-off-by: fuyuanli --- include/trace/events/tcp.h | 5 + 1 file changed, 5