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


Groups > linux.kernel > #1485421

Re: [PATCH 2/2] tools include: Add mman macros needed by perf for all arch

From Kim Phillips <kim.phillips@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] tools include: Add mman macros needed by perf for all arch
Date 2016-09-17 01:20 +0200
Message-ID <siaAh-30p-11@gated-at.bofh.it> (permalink)
References <shg54-8gk-9@gated-at.bofh.it> <shg54-8gk-7@gated-at.bofh.it> <shgRr-k0-1@gated-at.bofh.it>
Organization ARM

Show all headers | View raw


On Wed, 14 Sep 2016 17:16:06 +0530
"Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> wrote:

> On 2016/09/14 10:57AM, Wang Nan wrote:
> > Some macros required by tools/perf/trace/beauty/mmap.c is not support
> > for all architectures. For example, MAP_32BIT is defined on x86 only,
> > alpha doesn't define MADV_HWPOISON and MADV_SOFT_OFFLINE.
> > 
> > This patch regenerates mman.h for each archs, defines these missing
> > macros for perf. For missing MADV_*, fall back to asm-generic/mman-common
> > because they are in 'case ...' statement. For flags, define to 0.
> 
> This resolves the build issue on powerpc, thanks!

ditto for arm

> Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>

Tested-by: Kim Phillips <kim.phillips@arm.com>

Thanks,

Kim

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


Thread

[PATCH 2/2] tools include: Add mman macros needed by perf for all arch Wang Nan <wangnan0@huawei.com> - 2016-09-14 13:00 +0200
  Re: [PATCH 2/2] tools include: Add mman macros needed by perf for  all arch "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2016-09-14 13:50 +0200
    Re: [PATCH 2/2] tools include: Add mman macros needed by perf for  all arch Kim Phillips <kim.phillips@arm.com> - 2016-09-17 01:20 +0200
      Re: [PATCH 2/2] tools include: Add mman macros needed by perf for  all arch Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-09-19 16:40 +0200
  [tip:perf/core] tools include: Add mman macros needed by perf for  all arch tip-bot for Wang Nan <tipbot@zytor.com> - 2016-09-20 23:50 +0200

csiph-web