]> git.baikalelectronics.ru Git - kernel.git/commit
net: tracepoint: exposing sk_family in all tcp:tracepoints
authorHariharan Ananthakrishnan <hari@netflix.com>
Fri, 29 Jan 2021 00:12:10 +0000 (00:12 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Feb 2021 17:25:36 +0000 (09:25 -0800)
commit3dd344ea84e122f791ab55498aab985535f32cba
tree5309e85c2a437ac7ef7b51acb0c5da77b69eb466
parentf5a5589c72509abaeb705123b64e7f5a078becf0
net: tracepoint: exposing sk_family in all tcp:tracepoints

Similar to sock:inet_sock_set_state tracepoint, expose sk_family to
distinguish AF_INET and AF_INET6 families.

The following tcp tracepoints are updated:
tcp:tcp_destroy_sock
tcp:tcp_rcv_space_adjust
tcp:tcp_retransmit_skb
tcp:tcp_send_reset
tcp:tcp_receive_reset
tcp:tcp_retransmit_synack
tcp:tcp_probe

Signed-off-by: Hariharan Ananthakrishnan <hari@netflix.com>
Signed-off-by: Brendan Gregg <bgregg@netflix.com>
Link: https://lore.kernel.org/r/20210129001210.344438-1-hari@netflix.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/trace/events/tcp.h