Libbpf userspace function btf_ext__raw_data
Get the raw data of the BTF extension object.
Definition
const void *btf_ext__raw_data(const struct btf_ext *btf_ext, __u32 *size);
Parameters
btf_ext
: BTF extension objectsize
: Size of the raw data, written to by the function
Return
A const
pointer to raw serialized BTF extension. Including a header, types and strings. The caller is responsible for freeing the memory.
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