Skip to content

Libbpf userspace function btf__load_into_kernel

0.5.0

Load BTF object into the kernel.

Definition

int btf__load_into_kernel(struct btf *btf);

Parameters

  • btf: pointer to a struct btf object

Return

The file descriptor of the BTF object on success, or a negative error code on failure.

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome