linux/tools/perf/arch/powerpc
Naveen N. Rao 44ca9341f6 perf powerpc: Choose local entry point with kretprobes
perf now uses an offset from _text/_stext for kretprobes if the kernel
supports it, rather than the actual function name. As such, let's choose
the LEP for powerpc ABIv2 so as to ensure the probe gets hit. Do it only
if the kernel supports specifying offsets with kretprobes.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/7445b5334673ef5404ac1d12609bad4d73d2b567.1488961018.git.naveen.n.rao@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-03-14 15:17:39 -03:00
..
annotate perf annotate: Initial PowerPC support 2016-11-25 10:38:56 -03:00
include perf tests: Add dwarf unwind test for powerpc 2016-09-29 11:18:21 -03:00
tests perf tests: Add dwarf unwind test for powerpc 2016-09-29 11:18:21 -03:00
util perf powerpc: Choose local entry point with kretprobes 2017-03-14 15:17:39 -03:00
Build perf tests: Add dwarf unwind test for powerpc 2016-09-29 11:18:21 -03:00
Makefile perf tools powerpc: Add support for generating bpf prologue 2016-05-05 21:03:58 -03:00