From: Cong Wang <xiyou.wangcong@gmail.com>
To: Yunhui Cui <cuiyunhui@bytedance.com>
Cc: edumazet@google.com, rostedt@goodmis.org, mhiramat@kernel.org,
davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org,
kuba@kernel.org, pabeni@redhat.com, duanxiongchun@bytedance.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-trace-kernel@vger.kernel.org
Subject: Re: [PATCH] tcp/udp: add tracepoint for send recv length
Date: Sun, 1 Jan 2023 11:09:45 -0800 [thread overview]
Message-ID: <Y7HaeTkNtfb3oIP4@pop-os.localdomain> (raw)
In-Reply-To: <20221229080207.1029-1-cuiyunhui@bytedance.com>
On Thu, Dec 29, 2022 at 04:02:07PM +0800, Yunhui Cui wrote:
> From: Xiongchun Duan <duanxiongchun@bytedance.com>
>
> Add a tracepoint for capturing TCP segments with
> a send or receive length. This makes it easy to obtain
> the packet sending and receiving information of each process
> in the user mode, such as the netatop tool.
You can obtain the same information with kretprobe:
https://www.gcardone.net/2020-07-31-per-process-bandwidth-monitoring-on-Linux-with-bpftrace/
Thanks.
next prev parent reply other threads:[~2023-01-01 19:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-29 8:02 [PATCH] tcp/udp: add tracepoint for send recv length Yunhui Cui
2022-12-29 14:00 ` 运辉崔
2023-01-01 19:09 ` Cong Wang [this message]
2023-01-04 3:34 ` [External] " 运辉崔
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=Y7HaeTkNtfb3oIP4@pop-os.localdomain \
--to=xiyou.wangcong@gmail.com \
--cc=cuiyunhui@bytedance.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=duanxiongchun@bytedance.com \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rostedt@goodmis.org \
--cc=yoshfuji@linux-ipv6.org \
/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;
as well as URLs for NNTP newsgroup(s).