Re: [PATCH v2 1/2] tools include: Adopt byte ordering macros from byteorder/generic.h

2016-06-16 Thread Hekuang
在 2016/6/16 19:36, Jiri Olsa 写道: On Thu, Jun 16, 2016 at 10:41:31AM +, He Kuang wrote: From: Wang Nan This patch adopts the macros for byte order conversion from "include/linux/byteorder/generic.h" to "tools/include/linux/byteorder/generic.h" tools/perf/MANIFEST is also updated for 'mak

Re: [PATCH] tools/perf: fix the word selected in find_*_bit

2016-06-15 Thread Hekuang
在 2016/6/16 5:29, Arnaldo Carvalho de Melo 写道: Em Thu, Jun 16, 2016 at 12:11:04AM +0300, Yury Norov escreveu: On Wed, Jun 15, 2016 at 10:51:27PM +0300, Yury Norov wrote: Maybe there already is some macro doing the conversion for you... yes it is, cpu_to_le64() is what you want Beware that t