diff options
author | Naveen N. Rao <[email protected]> | 2017-03-08 13:56:10 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-03-14 15:17:39 -0300 |
commit | 44ca9341f65295c56e904cce4c84f5778f5c8537 (patch) | |
tree | 91d1b1fda6b3c26d42771365ea2e48f4177ecece /lib/memory-notifier-error-inject.c | |
parent | 7ab31d94bff96f4f80b38dc5147622b9f3889ac6 (diff) |
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions