Overview of Aya eBPF library
mainAya is a pure Rust eBPF library designed for high operability and developer experience. Unlike many other eBPF tools, it does not depend on libbpf or bcc; it uses only the libc crate to execute syscalls.
Key features include:
- BTF (BPF Type Format) Support: Enables CO-RE (Compile Once, Run Everywhere), allowing a single binary to run across different Linux distributions and kernel versions.
- Advanced eBPF Features: Supports function call relocation and global data maps (global variables and initializers).
- Async Support: Compatible with both
tokioandasync-stdruntimes. - Fast Development: Does not require a C toolchain, kernel builds, or compiled headers, enabling rapid release builds.