mbox series

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

Message ID 1513357314-8402-1-git-send-email-laoar.shao@gmail.com
Headers show
Series replace tcp_set_state tracepoint with | expand

Message

Yafang Shao Dec. 15, 2017, 5:01 p.m. UTC
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(-)

Comments

David Miller Dec. 15, 2017, 5:43 p.m. UTC | #1
Your Subject line here is incomplete, "replace tcp_set_state
tracepoint with" what?
Yafang Shao Dec. 15, 2017, 5:50 p.m. UTC | #2
2017-12-16 1:43 GMT+08:00 David Miller <davem@davemloft.net>:
>
> 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
David Miller Dec. 15, 2017, 5:51 p.m. UTC | #3
From: Yafang Shao <laoar.shao@gmail.com>
Date: Sat, 16 Dec 2017 01:50:12 +0800

> 2017-12-16 1:43 GMT+08:00 David Miller <davem@davemloft.net>:
>>
>> 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.