Post AwfcV4Se7OeBJDmA0e by jejb@mastodon.online
 (DIR) More posts by jejb@mastodon.online
 (DIR) Post #AwfcV4Se7OeBJDmA0e by jejb@mastodon.online
       2025-07-30T17:44:33Z
       
       0 likes, 1 repeats
       
       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.