Fixing few issues that were reported since v1.0 release:
- fix inadvertently changed
struct bpf_object_open_opts
memory layout; - fix btf.h header relying on
struct enum64
type defined in kernel UAPI headers; - fix NULL pointer exception in API btf_dump__dump_type_data;
- remove
struct btf_map_def
accidentally left in bpf_helpers.h header.
Also libbpf will attempt to load vmlinux BTF from well known locations both ELF file (.BTF section) or as raw BTF binary data.
Full Changelog: v1.0.0...v1.0.1