perf probe ppc: Use the right prefix when ignoring SyS symbols on ppc
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Tue, 28 Apr 2015 12:05:36 +0000 (17:35 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 May 2015 15:43:43 +0000 (12:43 -0300)
commitfb6d59423115b10125f5db6acb8471f6f0af4ad7
tree40d0c153d9d9f056cdf1b497ea9ce5ea1560e688
parentd2332098331fffe9358b50cebc8954ecd6560448
perf probe ppc: Use the right prefix when ignoring SyS symbols on ppc

Use the proper prefix when ignoring SyS symbols on ppc ABIv1. While at
it, generalize symbol selection so architectures can implement their own
logic.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/adf1f98b121ecaf292777fe5cc69fe1038feabce.1430217967.git.naveen.n.rao@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/powerpc/util/sym-handling.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h