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


Groups > linux.kernel > #1372573

Re: [PATCH 2/2] tools/perf: Fix kallsyms perf test on ppc64le

From Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] tools/perf: Fix kallsyms perf test on ppc64le
Date 2016-04-06 16:40 +0200
Message-ID <rkWMG-5h0-7@gated-at.bofh.it> (permalink)
References <rkUUy-3Mo-17@gated-at.bofh.it> <rkUUy-3Mo-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Apr 06, 2016 at 06:02:58PM +0530, Naveen N. Rao wrote:
> ppc64le functions have a Global Entry Point (GEP) and a Local Entry
> Point (LEP). While placing a probe, we always prefer the LEP since it
> catches function calls through both the GEP and the LEP. In order to do
> this, we fixup the function entry points during elf symbol table lookup
> to point to the LEPs. This works, but breaks 'perf test kallsyms' since
> the symbols loaded from the symbol table (pointing to the LEP) do not
> match the symbols in kallsyms.
> 
> To fix this, we do not adjust all the symbols during symbol table load,
> but only adjust the probe trace point.
> 
> Cc: Mark Wielaard <mjw@redhat.com>
> Cc: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
> Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
> Reported-by: Michael Ellerman <mpe@ellerman.id.au>
> Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>

Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>

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


Thread

[PATCH 2/2] tools/perf: Fix kallsyms perf test on ppc64le "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2016-04-06 14:40 +0200
  Re: [PATCH 2/2] tools/perf: Fix kallsyms perf test on ppc64le Ananth N Mavinakayanahalli <ananth@in.ibm.com> - 2016-04-06 16:40 +0200

csiph-web