[PATCH v2 net-next 0/4] replace tcp_set_state tracepoint with sock_set_state tracepoint

2017-12-15 Thread Yafang Shao
Hi,

According to the discussion in the mail thread
https://patchwork.kernel.org/patch/10099243/,
tcp_set_state tracepoint is renamed to sock_set_state tracepoint and is moved
to include/trace/events/sock.h.

Using this new tracepoint to trace TCP/DCCP/SCTP state transition.

v1->v2: Steven's patch is included in this series.

Steven Rostedt (1):
  tcp: Export to userspace the TCP state names for the trace events

Yafang Shao (3):
  net: tracepoint: replace tcp_set_state tracepoint with sock_set_state
tracepoint
  net: tracepoint: using sock_set_state tracepoint to trace SCTP state
transition
  net: tracepoint: using sock_set_state tracepoint to trace DCCP state
transition

 include/net/sock.h  |  15 +-
 include/trace/events/sock.h | 106 
 include/trace/events/tcp.h  |  76 
 net/core/sock.c |  13 +
 net/dccp/proto.c|   2 +-
 net/ipv4/inet_connection_sock.c |   4 +-
 net/ipv4/inet_hashtables.c  |   2 +-
 net/ipv4/tcp.c  |   4 --
 net/sctp/endpointola.c  |   2 +-
 net/sctp/sm_sideeffect.c|   4 +-
 net/sctp/socket.c   |  12 ++---
 11 files changed, 134 insertions(+), 106 deletions(-)

-- 
1.8.3.1



Re: [PATCH v2 net-next 0/4] replace tcp_set_state tracepoint with

2017-12-15 Thread David Miller
From: Yafang Shao 
Date: Sat, 16 Dec 2017 01:50:12 +0800

> 2017-12-16 1:43 GMT+08:00 David Miller :
>>
>> Your Subject line here is incomplete, "replace tcp_set_state
>> tracepoint with" what?
> 
> Oh Sorry.
> 
> The subject should be
> 
> "replace tcp_set_state tracepoint with sock_set_state tracepoint"

Please resubmit with it fixed.


Re: [PATCH v2 net-next 0/4] replace tcp_set_state tracepoint with

2017-12-15 Thread Yafang Shao
2017-12-16 1:43 GMT+08:00 David Miller :
>
> Your Subject line here is incomplete, "replace tcp_set_state
> tracepoint with" what?

Oh Sorry.

The subject should be

"replace tcp_set_state tracepoint with sock_set_state tracepoint"

Thanks
Yafang


Re: [PATCH v2 net-next 0/4] replace tcp_set_state tracepoint with

2017-12-15 Thread David Miller

Your Subject line here is incomplete, "replace tcp_set_state
tracepoint with" what?


[PATCH v2 net-next 0/4] replace tcp_set_state tracepoint with

2017-12-15 Thread Yafang Shao
Hi,

According to the discussion in the mail thread
https://patchwork.kernel.org/patch/10099243/,
tcp_set_state tracepoint is renamed to sock_set_state tracepoint and is moved
to include/trace/events/sock.h.

Using this new tracepoint to trace TCP/DCCP/SCTP state transition.

v1-v2: Steven's patch is included in this series.

Steven Rostedt:
  tcp: Export to userspace the TCP state names for the trace events

Yafang Shao (3):
  net: tracepoint: using sock_set_state tracepoint to trace SCTP state
transition
  net: tracepoint: replace tcp_set_state tracepoint with sock_set_state
tracepoint
  net: tracepoint: using sock_set_state tracepoint to trace DCCP state
transition

 include/net/sock.h  |  15 +-
 include/trace/events/sock.h | 106 
 include/trace/events/tcp.h  |  76 
 net/core/sock.c |  13 +
 net/dccp/proto.c|   2 +-
 net/ipv4/inet_connection_sock.c |   4 +-
 net/ipv4/inet_hashtables.c  |   2 +-
 net/ipv4/tcp.c  |   4 --
 net/sctp/endpointola.c  |   2 +-
 net/sctp/sm_sideeffect.c|   4 +-
 net/sctp/socket.c   |  12 ++---
 11 files changed, 134 insertions(+), 106 deletions(-)

-- 
1.8.3.1