Libbpf userspace function btf__endianness
Get the endianness of the BTF object.
Definition
enum btf_endianness btf__endianness(const struct btf *btf);
Parameters
btf
: pointer to astruct btf
object
Return
Return the endianness of the BTF object.
enum btf_endianness
enum btf_endianness {
BTF_LITTLE_ENDIAN = 0,
BTF_BIG_ENDIAN = 1,
};
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