Libbpf userspace function btf_ext__new
Create a new BTF extension object from raw data.
Definition
struct btf_ext *btf_ext__new(const __u8 *data, __u32 size);
Parameters
data
: Raw data of the BTF extensionsize
: Size of the raw data
Return
A pointer to the BTF extension object. Or NULL
is returned and errno
is set.
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