Libbpf userspace function bpf_object__load_skeleton
Load a skeleton into the kernel.
Definition
int bpf_object__load_skeleton(struct bpf_object_skeleton *s);
Parameters
s
: The skeleton to load.
Usage
This function loads a skeleton into the kernel. It is typically not called directly by users, but rather via the <name>__load
or <name>__open_and_load
function that is generated as part of the skeleton header file.
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome