Struct bpf_sys::type_gen::VmlinuxBtfDump[][src]

pub struct VmlinuxBtfDump { /* fields omitted */ }
Expand description

Load vmlinux from file and generate vmlinux.h

Implementations

Probe few well-known locations for vmlinux kernel image and try to load BTF data out of it

Read the ELF file and parse BTF data out of the given ELF file

Parse BTF data from a file containing raw BTF data

Add regex pattern into allowlist of BTF types

Dump BTF types as C source code into outfile including all the necessary dependent types.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.