From: Song Liu <songliubraving@fb.com>
To: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"davem@davemloft.net" <davem@davemloft.net>
Cc: "alexei.starovoitov@gmail.com" <alexei.starovoitov@gmail.com>,
"liu.song.a23@gmail.com" <liu.song.a23@gmail.com>,
Eric Dumazet <eric.dumazet@gmail.com>,
"hannes@stressinduktion.org" <hannes@stressinduktion.org>,
"brendan.d.gregg@gmail.com" <brendan.d.gregg@gmail.com>,
"ncardwell@google.com" <ncardwell@google.com>,
David Ahern <dsahern@gmail.com>, Kernel Team <Kernel-team@fb.com>,
"xiyou.wangcong@gmail.com" <xiyou.wangcong@gmail.com>
Subject: Re: [PATCH net-next 0/6] add a set of tracepoints to tcp stack
Date: Fri, 20 Oct 2017 21:32:54 +0000 [thread overview]
Message-ID: <38F68953-8C9B-4CB7-AA03-0DF58A24CE0B@fb.com> (raw)
In-Reply-To: <20171020212046.577888-1-songliubraving@fb.com>
CCing key audience of these patches.
I am really sorry if I have spammed your inbox multiple times with
the same set of patches. I have been struggling to get git-send-email
sending email to netdev. The only solution I found is to be reduce CC
list.
Best Regards,
Song
> On Oct 20, 2017, at 2:20 PM, Song Liu <songliubraving@fb.com> wrote:
>
> Resending the patch set as there were something wrong with my email
> server.
>
> These patches add the following tracepoints to tcp stack.
>
> tcp_send_reset
> tcp_receive_reset
> tcp_destroy_sock
> tcp_set_state
>
> These tracepoints can be used to track TCP state changes. Such state
> changes include but are not limited to: connection establish,
> connection termination, tx and rx of RST, various retransmits.
>
> Currently, we use the following kprobes to trace these events:
>
> int kprobe__tcp_validate_incoming
> int kprobe__tcp_send_active_reset
> int kprobe__tcp_v4_send_reset
> int kprobe__tcp_v6_send_reset
> int kprobe__tcp_v4_destroy_sock
> int kprobe__tcp_set_state
> int kprobe__tcp_retransmit_skb
>
> These tracepoints will help us simplify this work.
>
> Thanks,
> Song
>
> Song Liu (6):
> tcp: add trace event class tcp_event_sk_skb
> tcp: mark trace event arguments sk and skb as const
> tcp: add tracepoint trace_tcp_send_reset
> tcp: add tracepoint trace_tcp_receive_reset
> tcp: add tracepoint trace_tcp_destroy_sock
> tcp: add tracepoint trace_tcp_set_state()
>
> include/trace/events/tcp.h | 181 ++++++++++++++++++++++++++++++++++++++++++++-
> net/ipv4/tcp.c | 4 +
> net/ipv4/tcp_input.c | 3 +
> net/ipv4/tcp_ipv4.c | 8 +-
> net/ipv4/tcp_output.c | 5 ++
> net/ipv6/tcp_ipv6.c | 10 ++-
> 6 files changed, 204 insertions(+), 7 deletions(-)
>
> --
> 2.9.5
next prev parent reply other threads:[~2017-10-20 21:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-20 21:20 [PATCH net-next 0/6] add a set of tracepoints to tcp stack Song Liu
2017-10-20 21:20 ` [PATCH net-next 1/6] tcp: add trace event class tcp_event_sk_skb Song Liu
2017-10-20 21:20 ` [PATCH net-next 2/6] tcp: mark trace event arguments sk and skb as const Song Liu
2017-10-20 21:20 ` [PATCH net-next 3/6] tcp: add tracepoint trace_tcp_send_reset Song Liu
2017-10-20 21:20 ` [PATCH net-next 4/6] tcp: add tracepoint trace_tcp_receive_reset Song Liu
2017-10-20 21:20 ` [PATCH net-next 5/6] tcp: add tracepoint trace_tcp_destroy_sock Song Liu
2017-10-20 21:20 ` [PATCH net-next 6/6] tcp: add tracepoint trace_tcp_set_state() Song Liu
2017-10-20 21:32 ` Song Liu [this message]
2017-10-23 4:08 ` [PATCH net-next 0/6] add a set of tracepoints to tcp stack David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38F68953-8C9B-4CB7-AA03-0DF58A24CE0B@fb.com \
--to=songliubraving@fb.com \
--cc=Kernel-team@fb.com \
--cc=alexei.starovoitov@gmail.com \
--cc=brendan.d.gregg@gmail.com \
--cc=davem@davemloft.net \
--cc=dsahern@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=hannes@stressinduktion.org \
--cc=liu.song.a23@gmail.com \
--cc=ncardwell@google.com \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox