Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1423465

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

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] tools/perf: fix the word selected in find_*_bit
Date 2016-06-15 23:40 +0200
Message-ID <rKqHw-7SL-13@gated-at.bofh.it> (permalink)
References <rKhuy-21f-23@gated-at.bofh.it> <rKqHw-7SL-15@gated-at.bofh.it> <rKqHw-7SL-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 the cpu_to_le64() in tools/perf is bogus, we need to grab a
copy from the kernel sources.

- Arnaldo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] tools/perf: fix the word selected in find_*_bit Madhavan Srinivasan <maddy@linux.vnet.ibm.com> - 2016-06-15 13:50 +0200
  Re: [PATCH] tools/perf: fix the word selected in find_*_bit "George Spelvin" <linux@sciencehorizons.net> - 2016-06-15 14:50 +0200
    Re: [PATCH] tools/perf: fix the word selected in find_*_bit Madhavan Srinivasan <maddy@linux.vnet.ibm.com> - 2016-06-16 09:30 +0200
  Re: [PATCH] tools/perf: fix the word selected in find_*_bit Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-15 23:40 +0200
    [PATCH] tools include: Fix wrong macro definitions for cpu_to_le* for big endian He Kuang <hekuang@huawei.com> - 2016-06-16 03:30 +0200
    [PATCH 1/2] tools include: Sync byteorder/generic.h He Kuang <hekuang@huawei.com> - 2016-06-16 03:40 +0200
      Re: [PATCH 1/2] tools include: Sync byteorder/generic.h Jiri Olsa <jolsa@redhat.com> - 2016-06-16 08:40 +0200
    Re: [PATCH] tools/perf: fix the word selected in find_*_bit Hekuang <hekuang@huawei.com> - 2016-06-16 03:40 +0200
    [PATCH 2/2] tools include: Fix wrong macro definitions for cpu_to_le* for big endian He Kuang <hekuang@huawei.com> - 2016-06-16 03:40 +0200
      Re: [PATCH 2/2] tools include: Fix wrong macro definitions for  cpu_to_le* for big endian Jiri Olsa <jolsa@redhat.com> - 2016-06-16 08:40 +0200
  Re: [PATCH] tools/perf: fix the word selected in find_*_bit Madhavan Srinivasan <maddy@linux.vnet.ibm.com> - 2016-06-16 09:20 +0200
  Re: [PATCH] tools/perf: fix the word selected in find_*_bit Madhavan Srinivasan <maddy@linux.vnet.ibm.com> - 2016-06-16 15:20 +0200

csiph-web