]> 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)
commitee439014ee63343defd80374dd162ed9cd0c4272
tree5309e85c2a437ac7ef7b51acb0c5da77b69eb466
parent2985bc3a219554fda50a4fd7ce3bbfaaeabe2c87
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