On Thu, 21 Mar 2019 10:03:22 +0000 Tzvetomir Stoyanov <tstoyanov@xxxxxxxxxx> wrote: > 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 ? Yes, there's history to these names. I'll take a look at them and see how they can change to something less confusing. -- Steve