On Wed, Mar 20, 2019 at 6:32 PM Matt Helsley <mhelsley@xxxxxxxxxx> wrote: > <snit> > > > > static inline int tep_host_bigendian(void) > > { > > Does another series rename this to: tep_is_host_bigendian() ? > > Cheers, > -Matt > This one is a little bit confusing, there are two different APIs: int tep_host_bigendian(void) - used in perf, checks the byte order of the local machine int tep_is_host_bigendian(struct tep_handle *pevent) - checks the order, stored in the tep_handler I remember that we discussed this with Steven last year, and decided to keep both of them. I'm not aware of all use cases, and what is the purpose of tep_is_host_bigendian() API ? -- Tzvetomir (Ceco) Stoyanov VMware Open Source Technology Center