| Crates.io | btf2wit |
| lib.rs | btf2wit |
| version | 0.1.2 |
| created_at | 2023-02-11 08:06:12.705859+00 |
| updated_at | 2023-03-10 04:45:54.454561+00 |
| description | Convert btf info to wit info |
| homepage | |
| repository | |
| max_upload_size | |
| id | 782384 |
| size | 47,508 |
Conversion from BTF to WIT.
Usage: btf2wit [OPTIONS] <INPUT_FILE>
Arguments:
<INPUT_FILE>
Options:
-o, --output-file <OUT_FILE>
-h, --help Print help
-V, --version Print version
paholesudo apt install pahole
-g argumentclang simple.c -c -o simple.bpf.o -g
pahole -J simple.bpf.o
btf2wit to emit WIT info from BTFbtf2wit simple.bpf.o -o simple.wit
wit-bindgen to emit bindings for C and Rustwit-bindgen c simple.wit
wit-bindgen rust simple.wit
For examples, please refer to examples/simple.
MIT