On 7/2/25 1:21 PM, Breno Leitao wrote: > From: Jakub Kicinski <kuba@xxxxxxxxxx> > > 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@xxxxxxxxxx> > Reviewed-by: Breno Leitao <leitao@xxxxxxxxxx> > Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx> Does not apply cleanly anymore. Please rebase and repost, thanks! /P