Crate bpf_compatible_rs

Source

Re-exports§

pub use crate::error::Error;
pub use tempfile;
pub use tar;

Modules§

error
Errors of this library

Functions§

generate_current_system_btf_archive_path
Generate the btf archive path of the running kernel It returns somethings like ubuntu/20.04/x86_64/xxxxxxx.btf
get_current_system_btf_file
Try to get the btf file of the running system under the archive directory
unpack_tar
Unpack a tar archive, returning the contents of package.json;

Type Aliases§

BtfArchive
A helper type definition for simplicity
Result