had fun with the eBPF selftests: even after I fixed the bug in the bpf key handling tidy up patches, the sefltetsts still wouldn't pass. It turns out that BTF does not allow fully opaque structures in function prototypes (so the BPF load of the test was failing because of this). To fix the tests I had to add an empty struct bpf_key into one of the files the BTF generator saw ... saying this here just in case anyone else runs into the same obscure issue.

@jejb@mastodon.online
Linux Kernel developer at Microsoft.
Technical blog at https://blog.hansenpartnership.com
IM via matrix @jejb:hansenpartnership.com
All microconferences (MCs) at LPC 2025 have been accepted! It is time to submit topics to your favorite MCs.
Please check out our latest blog post for the list of MCs, and how to create a ideal MC topic.
https://lpc.events/blog/current/index.php/2025/07/25/all-microconferences-have-been-accepted/