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/aya-ebpf-macros/src
Michal Rostecki 66403414c6 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.
7 days ago
..
args.rs Bump edition to 2024 3 months ago
btf_map.rs feat(aya-ebpf): BTF maps 7 days ago
btf_tracepoint.rs appease `clippy::uninlined-format-args` 1 month ago
cgroup_device.rs Bump edition to 2024 3 months ago
cgroup_skb.rs Bump edition to 2024 3 months ago
cgroup_sock.rs Bump edition to 2024 3 months ago
cgroup_sock_addr.rs Bump edition to 2024 3 months ago
cgroup_sockopt.rs Bump edition to 2024 3 months ago
cgroup_sysctl.rs Bump edition to 2024 3 months ago
fentry.rs appease `clippy::uninlined-format-args` 1 month ago
fexit.rs appease `clippy::uninlined-format-args` 1 month ago
flow_dissector.rs Add support for Flow Dissector programs 3 months ago
kprobe.rs appease `clippy::uninlined-format-args` 1 month ago
lib.rs feat(aya-ebpf): BTF maps 7 days ago
lsm.rs appease `clippy::uninlined-format-args` 1 month ago
map.rs Bump edition to 2024 3 months ago
perf_event.rs Bump edition to 2024 3 months ago
raw_tracepoint.rs appease `clippy::uninlined-format-args` 1 month ago
sk_lookup.rs Bump edition to 2024 3 months ago
sk_msg.rs Bump edition to 2024 3 months ago
sk_skb.rs Bump edition to 2024 3 months ago
sock_ops.rs Bump edition to 2024 3 months ago
socket_filter.rs Bump edition to 2024 3 months ago
tc.rs Bump edition to 2024 3 months ago
tracepoint.rs Bump edition to 2024 3 months ago
uprobe.rs appease `clippy::uninlined-format-args` 1 month ago
xdp.rs Bump edition to 2024 3 months ago