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 <[email protected]> > Cc: Thiago Jung Bauermann <[email protected]> > Cc: Ananth N Mavinakayanahalli <[email protected]> > Cc: Arnaldo Carvalho de Melo <[email protected]> > Cc: Masami Hiramatsu <[email protected]> > Reported-by: Michael Ellerman <[email protected]> > Signed-off-by: Naveen N. Rao <[email protected]>
Acked-by: Ananth N Mavinakayanahalli <[email protected]>

