aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorNaveen N. Rao <[email protected]>2017-03-08 08:26:10 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-03-14 18:17:39 +0000
commit44ca9341f65295c56e904cce4c84f5778f5c8537 (patch)
tree91d1b1fda6b3c26d42771365ea2e48f4177ecece /tools/perf/builtin-script.c
parentperf kretprobes: Offset from reloc_sym if kernel supports it (diff)
downloadkernel-44ca9341f65295c56e904cce4c84f5778f5c8537.tar.gz
kernel-44ca9341f65295c56e904cce4c84f5778f5c8537.zip
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 <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/7445b5334673ef5404ac1d12609bad4d73d2b567.1488961018.git.naveen.n.rao@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions