You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/ebpf/aya-ebpf/src/maps
Michal Rostecki 8d6e12107a feat(aya-ebpf): BTF maps
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 BTF maps, with custom structs indicating
the metadata of the map, which end up in the `.maps` section.

Legacy maps are not supported by libbpf anymore and not even by the
kernel for newer types of maps like inode/task storage.

Add support of BTF maps in aya-ebpf under the `btf-maps` feature flag.

Usage of this feature requires emitting debug info for the eBPF crate
and passing the `--btf` flag to bpf-linker.
2 months ago
..
perf Bump edition to 2024 5 months ago
xdp aya-ebpf: extract insert,remove,lookup 5 months ago
array.rs feat: Add `set` for `Array<T>` 5 months ago
bloom_filter.rs chore(aya-ebpf): Rename bpf -> ebpf 1 year ago
hash_map.rs Bump edition to 2024 5 months ago
lpm_trie.rs aya-ebpf: extract insert,remove,lookup 5 months ago
mod.rs chore(aya-ebpf): Rename bpf -> ebpf 1 year ago
per_cpu_array.rs aya-ebpf: extract insert,remove,lookup 5 months ago
program_array.rs Bump edition to 2024 5 months ago
queue.rs chore(aya-ebpf): Rename bpf -> ebpf 1 year ago
ring_buf.rs feat(aya-ebpf): BTF maps 2 months ago
sock_hash.rs chore(*): set clippy unused_trait_names = warn 4 months ago
sock_map.rs chore(*): set clippy unused_trait_names = warn 4 months ago
stack.rs feat(aya-ebpf): BTF maps 2 months ago
stack_trace.rs Bump edition to 2024 5 months ago