bpf-script-derive

Build Status crates.io mio Lines of Code

Provides a derive macro for AddToDatabase to make adding Rust types to a bpf_script::types::TypeDatabase easier.

Usage

For usage examples, see code located in examples/ :

| Examples | Description | |----------|-------------| |custom-type| Creates and inserts a custom type into an empty BTF database|