Commit Graph

1 Commits (6e70fda6a26743784bbe85b1ddff6a7e44607278)

Author SHA1 Message Date
Michal R 6e70fda6a2 aya-ebpf: Add BTF array definition
Before this change, Aya supported only legacy BPF map definitions, which
are instances of the `bpf_map_def` struct and end up in the `maps` ELF
section.

This change introduces a BTF map definition for arrays, with custom
structs indicating the metadata of the map, which end up in the `.maps`
section.
2 weeks ago