tw4452852 / zbpf

Writing eBPF in Zig
https://tw4452852.github.io/zbpf/
GNU General Public License v3.0
108 stars 6 forks source link

BTF loading failure due to invalid type name #3

Closed tw4452852 closed 1 year ago

tw4452852 commented 1 year ago
...
[1] PTR *[2]u8 type_id=3 Invalid name

-- END BTF LOAD LOG --
libbpf: Error loading .BTF into kernel: -22. BTF is optional, ignoring.

This is because the BTF verifier only support C type naming convention right now.