Open brb opened 3 years ago
Golang supports struct's host layout since go1.23 by structs.HostLayout.
Would it be better to mark bpf2go-generated structs as host layout?
It will when ebpf-go targets 1.23, we always target the second-newest version.
The Cilium's alignchecker should be extended to support BTF instead of DWARF. AFAIK, @ti-mo is planning to do so.