mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2cec04c578
Add a `target_btf: Option<Btf>` argument to Bpf::load. None can be passed to indicate to skip BTF relocation, for example for kernels that don't support it. Some(btf) can be used to pass BTF parsed with Btf::from_sys_fs() or Btf::parse/parse_file. Finally, add a simpler Bpf::load_file(path) that uses from_sys_fs() internally to simplify the common case. |
4 years ago | |
---|---|---|
aya | 4 years ago | |
.gitignore | 4 years ago | |
Cargo.toml | 4 years ago | |
LICENSE-APACHE | 4 years ago | |
LICENSE-MIT | 4 years ago |