Libbpf userspace function bpf_object__open_skeleton
Open a BPF object and populate skeleton.
Definition
int bpf_object__open_skeleton(struct bpf_object_skeleton *s, const struct bpf_object_open_opts *opts);
Parameters
s
: The skeleton to populate.opts
: The options to use when opening the object.
Usage
This function is typically not called directly by users, but rather via the <name>__open
, <name>__open_opts
, or <name>__open_and_load
function that is generated by bpftool gen skeleton
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome