[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 1 Jan 2023 11:09:45 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Yunhui Cui <cuiyunhui@...edance.com>
Cc: edumazet@...gle.com, rostedt@...dmis.org, mhiramat@...nel.org,
davem@...emloft.net, yoshfuji@...ux-ipv6.org, dsahern@...nel.org,
kuba@...nel.org, pabeni@...hat.com, duanxiongchun@...edance.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Subject: Re: [PATCH] tcp/udp: add tracepoint for send recv length
On Thu, Dec 29, 2022 at 04:02:07PM +0800, Yunhui Cui wrote:
> From: Xiongchun Duan <duanxiongchun@...edance.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.
Powered by blists - more mailing lists