bpf-rs 0.0.5

A safe, lean library for inspecting and querying eBPF objects
Documentation

Background

It is based upon the work of libbpf-sys to safely create wrappers around libbpf. A lot of the design & inspiration stems from bpftool and libbpf-rs.

This crate is NOT meant to help with writing and loading of eBPF programs and maps. For that, we recommend libbpf-rs and libbpf-cargo.

Installation

crates.io badge

To use in your project, add into your Cargo.toml:

[dependencies]
bpf-rs = "0.0.5"

or using cargo-edit:

$ cargo add bpf-rs

Documentation

See documentation here

License

BSD 2-Clause - Maintained by bpfdeploy.io