aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/netpoll_basic.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-07-14 09:56:48 +0000
committerJakub Kicinski <[email protected]>2025-07-17 00:25:49 +0000
commit3c561c547c396038c7690645cff4f98181c62d49 (patch)
tree5b3ef2705c6e5137d2965f24855b29ab7601d363 /tools/testing/selftests/drivers/net/netpoll_basic.py
parentipv6: mcast: Simplify mld_clear_{report|query}() (diff)
downloadkernel-3c561c547c396038c7690645cff4f98181c62d49.tar.gz
kernel-3c561c547c396038c7690645cff4f98181c62d49.zip
selftests: drv-net: add helper/wrapper for bpftrace
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. Reviewed-by: Breno Leitao <[email protected]> Signed-off-by: Breno Leitao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/netpoll_basic.py')
0 files changed, 0 insertions, 0 deletions