Thread (12 messages) 12 messages, 3 authors, 2018-01-03

Re: [PATCH v3 net-next 0/5] replace tcp_set_state tracepoint with inet_sock_set_state

From: David Miller <davem@davemloft.net>
Date: 2017-12-20 19:00:44
Also in: lkml

From: Yafang Shao <redacted>
Date: Wed, 20 Dec 2017 11:12:49 +0800
According to the discussion in the mail thread
https://patchwork.kernel.org/patch/10099243/,
tcp_set_state tracepoint is renamed to inet_sock_set_state tracepoint and is
moved to include/trace/events/sock.h.

With this new tracepoint, we can trace AF_INET/AF_INET6 sock state transitions.
As there's only one single tracepoint for inet, so I didn't create a new trace
file named trace/events/inet_sock.h, and just place it in
include/trace/events/sock.h

Currently TCP/DCCP/SCTP state transitions are traced with this tracepoint.

- Why not more protocol ?
If we really think that anonter protocol should be traced, I will modify the
code to trace it.
I just want to make the code easy and not output useless information.
Series applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help