diff options
author | fuyuanli <[email protected]> | 2024-03-05 11:04:17 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-03-08 10:25:47 +0000 |
commit | caabd859c41b50a571cfdf7747de9f245c5d531b (patch) | |
tree | 29348feae2058257acf7bafa281bb5b6a3741fec /lib/crypto/mpi/mpi-mod.c | |
parent | 6025b9135f7a8b46826a5fcf947259da43bac281 (diff) |
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 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions