Skip to content

Libbpf userspace function bpf_object__load

0.0.1

loads BPF object into kernel.

Definition

int bpf_object__load(struct bpf_object *obj);

Parameters

Return

0, on success; negative error code, otherwise, error code is stored in errno

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