]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: expose sk_state in tcp_retransmit_skb tracepoint
authorYafang Shao <laoar.shao@gmail.com>
Mon, 24 Sep 2018 12:57:29 +0000 (20:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2018 03:07:19 +0000 (20:07 -0700)
commitf4ab5d1e486fc5b63a58653c4178e117c7b53eb2
treeb63e4f7ea1df4325cdc4292709371498d1ebefb8
parent0aed523312525a0edb4036f1526a7854594fd03a
tcp: expose sk_state in tcp_retransmit_skb tracepoint

After sk_state exposed, we can get in which state this retransmission
occurs. That could give us more detail for dignostic.
For example, if this retransmission occurs in SYN_SENT state, it may
also indicates that the syn packet may be dropped on the remote peer due
to syn backlog queue full and then we could check the remote peer.

BTW,SYNACK retransmission is traced in tcp_retransmit_synack tracepoint.

Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/tcp.h