Libbpf userspace function btf__base_btf
Get the base BTF object of a BTF object.
Definition
const struct btf *btf__base_btf(const struct btf *btf);
Parameters
btf
: pointer to astruct btf
object
Return
Return a pointer to a struct btf
object on success, or NULL
if the BTF object has no base.
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