diff options
| author | Jakub Kicinski <[email protected]> | 2025-07-14 09:56:48 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-17 00:25:49 +0000 |
| commit | 3c561c547c396038c7690645cff4f98181c62d49 (patch) | |
| tree | 5b3ef2705c6e5137d2965f24855b29ab7601d363 /tools/testing/selftests/drivers/net/netpoll_basic.py | |
| parent | ipv6: mcast: Simplify mld_clear_{report|query}() (diff) | |
| download | kernel-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
