https://github.com/arcjustin/btf
https://github.com/arcjustin/btf
bpf btf ebpf linux rust types
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/arcjustin/btf
- Owner: arcjustin
- Created: 2022-09-17T13:00:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T00:44:45.000Z (almost 3 years ago)
- Last Synced: 2025-03-19T03:11:53.515Z (about 1 year ago)
- Topics: bpf, btf, ebpf, linux, rust, types
- Language: Rust
- Homepage:
- Size: 1.43 MB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# btf
[](https://github.com/arcjustin/btf/actions?query=workflow%3Abuild)
[](https://crates.io/crates/btf)
[](https://docs.rs/btf/)
[](https://tokei.rs/b1/github/arcjustin/btf?category=code)
Parsing library for the eBPF type format.
## Usage
For usage examples, see code located in [examples/](examples/) :
| Examples | Description |
|----------|-------------|
|[print-type](examples/print-type.rs)| Prints a type given a path to a BTF file and a type name|
## TODO
* Write more thorough tests.
## License
* [MIT license](http://opensource.org/licenses/MIT)