Libbpf userspace function btf_ext__endianness
Get the endianness of the BTF extension object.
Definition
enum btf_endianness btf_ext__endianness(const struct btf_ext *btf_ext);
Parameters
btf_ext
: BTF extension object
Return
The endianness of the BTF extension 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