Function bpf_sys::type_gen::vmlinux_btf_dump[][src]

pub fn vmlinux_btf_dump() -> Result<VmlinuxBtfDump, TypeGenError>
Expand description

Find a source of vmlinux BTF and parse it

Using the returned VmlinuxBtfDump, BTF of the Linux kernel can be dumped into vmlinux.h.