diff options
author | Naveen N. Rao | 2017-03-08 13:56:10 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2017-03-14 15:17:39 -0300 |
commit | 44ca9341f65295c56e904cce4c84f5778f5c8537 (patch) | |
tree | 91d1b1fda6b3c26d42771365ea2e48f4177ecece /drivers/pinctrl/aspeed | |
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 <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>
Diffstat (limited to 'drivers/pinctrl/aspeed')
0 files changed, 0 insertions, 0 deletions