user program
Libpf-rs
feature
- rust-style libbpf
components
kern ebpf code(C) interface(automatical genaration) usr code(rust)
- write ebpf code by C
- add build scrpit to project
- libbpf-cargo automatically generates interface code
- compiling ebpf program
- loading or attaching bytecode
- method to access bytecode segement
- wrting usr code by both rust and interfaces
the ebpf byte code will be compiled together with rust
Aya
feature
- completely rust
components
- kern ebpf code(rust)
- interface(template)
- usr code(rust)