The tep_is_bigendian() gets the endianness of the machine, executing
the function.
The tep_is_local_bigendian() function gets the endianness of the local
machine, saved in the tep handler. The tep argument is the trace event
parser context. This API is a bit faster than tep_is_bigendian(), as it
returns cached endianness of the local machine instead of checking it each time.
The tep_set_local_bigendian() function sets the endianness of the local
machine in the tep handler. The tep argument is trace event parser context.
The endian argument is the endianness:
TEP_LITTLE_ENDIAN - the machine is little endian,
TEP_BIG_ENDIAN - the machine is big endian.