bpftrace 0.17 added module BTF support, check this works. On bpftrace 0.16, this failed with the following error: > ERROR: kfunc:nft_trans_alloc_gfp: no BTF data for the function
Also add an extra test in nixos/tests/bpf.nix for BTF usage in bpftrace Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
test bcc and bpftrace briefly