6 releases
0.5.4 | Nov 5, 2022 |
---|---|
0.5.3 | Nov 3, 2022 |
0.4.0 | Nov 2, 2022 |
#86 in #ebpf
Used in bpf-api
9KB
55 lines
bpf-script-derive
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 |
lib.rs
:
Provides a derive macro for AddToDatabase
to make adding Rust types to a bpf_script::types::TypeDatabase
easier.
License
Dependencies
~6–18MB
~188K SLoC