forked from rlane/ubpf
-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
Description
Regarding the doc in progress at ietf-wg-bpf/ebpf-docs#4, Quentin wrote:
libbpf v1.0 (see dropping support for maps section in favour of .maps (Andrii's blog)
cilium/ebpf seems to read both types (and also data sections), which seems reasonable behavior:
https://github.com/cilium/ebpf/blob/master/elf_reader.go#L125
Aya also seems to read both types:
https://github.com/aya-rs/aya/blob/main/aya/src/obj/mod.rs#L1024
redbpf (which unlike Aya is listed as Major) only supports "maps":
https://github.com/foniod/redbpf/blob/main/redbpf/src/lib.rs#L1544
Reactions are currently unavailable