[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b610c003-5c8b-4fef-8fea-a2b40f8d1377@redhat.com>
Date: Tue, 8 Jul 2025 15:42:33 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Breno Leitao <leitao@...ian.org>, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Shuah Khan <shuah@...nel.org>,
Simon Horman <horms@...nel.org>
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Willem de Bruijn <willemdebruijn.kernel@...il.com>, bpf@...r.kernel.org,
kernel-team@...a.com
Subject: Re: [PATCH net-next v4 1/3] selftests: drv-net: add helper/wrapper
for bpftrace
On 7/2/25 1:21 PM, Breno Leitao wrote:
> From: Jakub Kicinski <kuba@...nel.org>
>
> bpftrace is very useful for low level driver testing. perf or trace-cmd
> would also do for collecting data from tracepoints, but they require
> much more post-processing.
>
> Add a wrapper for running bpftrace and sanitizing its output.
> bpftrace has JSON output, which is great, but it prints loose objects
> and in a slightly inconvenient format. We have to read the objects
> line by line, and while at it return them indexed by the map name.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> Reviewed-by: Breno Leitao <leitao@...ian.org>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
Does not apply cleanly anymore. Please rebase and repost, thanks!
/P
Powered by blists - more mailing lists