diff options
| author | fuyuanli <[email protected]> | 2024-03-05 03:04:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-03-08 10:25:47 +0000 |
| commit | caabd859c41b50a571cfdf7747de9f245c5d531b (patch) | |
| tree | 29348feae2058257acf7bafa281bb5b6a3741fec /net/xfrm/xfrm_interface_core.c | |
| parent | net: dqs: add NIC stall detector based on BQL (diff) | |
| download | kernel-caabd859c41b50a571cfdf7747de9f245c5d531b.tar.gz kernel-caabd859c41b50a571cfdf7747de9f245c5d531b.zip | |
tcp: Add skb addr and sock addr to arguments of tracepoint tcp_probe.
It is useful to expose skb addr and sock addr to user in tracepoint
tcp_probe, so that we can get more information while monitoring
receiving of tcp data, by ebpf or other ways.
For example, we need to identify a packet by seq and end_seq when
calculate transmit latency between layer 2 and layer 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 <[email protected]>
Reviewed-by: Jason Xing <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/xfrm/xfrm_interface_core.c')
0 files changed, 0 insertions, 0 deletions
