Re: [PATCH 03/22] tools lib traceevent: Add traceevent_host_bigendian function

2013-11-25 Thread Jiri Olsa
On Mon, Nov 25, 2013 at 04:24:52PM +0900, Namhyung Kim wrote: > Hi Steve, > > On Sat, 23 Nov 2013 03:27:08 -0500, Steven Rostedt wrote: > > On Fri, 22 Nov 2013 23:22:52 +0900 > > Namhyung Kim wrote: > > > >> 2013-11-21 (목), 12:01 +0100, Jiri Olsa: > >> > Adding traceevent_host_bigendian function

Re: [PATCH 03/22] tools lib traceevent: Add traceevent_host_bigendian function

2013-11-24 Thread Namhyung Kim
Hi Steve, On Sat, 23 Nov 2013 03:27:08 -0500, Steven Rostedt wrote: > On Fri, 22 Nov 2013 23:22:52 +0900 > Namhyung Kim wrote: > >> 2013-11-21 (목), 12:01 +0100, Jiri Olsa: >> > Adding traceevent_host_bigendian function to get host >> > endianity. It's used in following patches. >> >> [SNIP] >> >

Re: [PATCH 03/22] tools lib traceevent: Add traceevent_host_bigendian function

2013-11-23 Thread Steven Rostedt
On Fri, 22 Nov 2013 23:22:52 +0900 Namhyung Kim wrote: > 2013-11-21 (목), 12:01 +0100, Jiri Olsa: > > Adding traceevent_host_bigendian function to get host > > endianity. It's used in following patches. > > [SNIP] > > +static inline int traceevent_host_bigendian(void) > > +{ > > + unsigned char

Re: [PATCH 03/22] tools lib traceevent: Add traceevent_host_bigendian function

2013-11-22 Thread Namhyung Kim
2013-11-21 (목), 12:01 +0100, Jiri Olsa: > Adding traceevent_host_bigendian function to get host > endianity. It's used in following patches. [SNIP] > +static inline int traceevent_host_bigendian(void) > +{ > + unsigned char str[] = { 0x1, 0x2, 0x3, 0x4 }; > + unsigned int *ptr; > + > +