Libbpf userspace function btf__raw_data
Get the raw data of the BTF object.
Definition
const void *btf__raw_data(const struct btf *btf, __u32 *size);
Parameters
btf
: BTF objectsize
: Size of the raw data, written to by the function
Return
A const
pointer to raw serialized BTF. 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