-
- Downloads
kprobes: Add kretprobe_find_ret_addr() for searching return address
Introduce kretprobe_find_ret_addr() and is_kretprobe_trampoline(). These APIs will be used by the ORC stack unwinder and ftrace, so that they can check whether the given address points kretprobe trampoline code and query the correct return address in that case. Link: https://lkml.kernel.org/r/163163046461.489837.1044778356430293962.stgit@devnote2 Signed-off-by:Masami Hiramatsu <mhiramat@kernel.org> Tested-by:
Andrii Nakryiko <andrii@kernel.org> Signed-off-by:
Steven Rostedt (VMware) <rostedt@goodmis.org>
Loading
Please register or sign in to comment