diff options
author | David S. Miller <davem@davemloft.net> | 2017-10-24 02:21:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-24 02:21:26 +0200 |
commit | 4c4fde210ce665d400e5d859a62e792dcb1bbf37 (patch) | |
tree | 16bd01b92a17441fc0e9cdcabc5501a49d689dd2 /tools/bpf | |
parent | Merge branch 'hns3-next' (diff) | |
parent | tcp: add tracepoint trace_tcp_set_state() (diff) | |
download | linux-4c4fde210ce665d400e5d859a62e792dcb1bbf37.tar.xz linux-4c4fde210ce665d400e5d859a62e792dcb1bbf37.zip |
Merge branch 'tcp-tracepoints'
Song Liu says:
====================
net: add a set of tracepoints to tcp stack
Changes from v1:
Fix build error (with ipv6 as ko) by adding EXPORT_TRACEPOINT_SYMBOL_GPL
for trace_tcp_send_reset.
These patches add the following tracepoints to tcp stack.
tcp_send_reset
tcp_receive_reset
tcp_destroy_sock
tcp_set_state
These tracepoints can be used to track TCP state changes. Such state
changes include but are not limited to: connection establish,
connection termination, tx and rx of RST, various retransmits.
Currently, we use the following kprobes to trace these events:
int kprobe__tcp_validate_incoming
int kprobe__tcp_send_active_reset
int kprobe__tcp_v4_send_reset
int kprobe__tcp_v6_send_reset
int kprobe__tcp_v4_destroy_sock
int kprobe__tcp_set_state
int kprobe__tcp_retransmit_skb
These tracepoints will help us simplify this work.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions