mbox series

[0/1] net: tracepoint: exposing sk_family in tcp:tracepoints

Message ID 20210126212530.6510-1-hari@netflix.com (mailing list archive)
Headers show
Series net: tracepoint: exposing sk_family in tcp:tracepoints | expand

Message

Hariharan Ananthakrishnan Jan. 26, 2021, 9:25 p.m. UTC
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> 

Hariharan Ananthakrishnan (1):
  net: tracepoint: exposing sk_family in all tcp:tracepoints

 include/trace/events/tcp.h | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)


base-commit: 24f97b6af9a000bfda9ee693110189d7d4d629fe

Comments

Jakub Kicinski Jan. 28, 2021, 12:19 a.m. UTC | #1
On Tue, 26 Jan 2021 21:25:29 +0000 Hariharan Ananthakrishnan wrote:
> 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

There is no need for a cover letter with a single patch.

Please put this description directly in the commit message.

The patch does not apply to net-next, please rebase.