zig icon indicating copy to clipboard operation
zig copied to clipboard

Fixes to linux/bpf/btf.zig

Open bfredl opened this issue 3 years ago • 0 comments

  • the meaning of packed structs changed in zig 0.10. adjust accordingly. Use "extern struct" for the cases that directly map to C structs.

  • Add new type info kinds, like enum64 and DeclTag

  • change the Type enum to use the canonical names from libbpf. This is more predictable when comparing with external BPF documentation (than invented synonyms that need to be guessed)

cc @mattnite

bfredl avatar Nov 07 '22 14:11 bfredl