Home
last modified time | relevance | path

Searched hist:"03 bac0df2886882c43e6d0bfff9dee84a184fc7e" (Results 1 – 1 of 1) sorted by relevance

/linux/include/linux/
H A Dkprobes.hdiff 03bac0df2886882c43e6d0bfff9dee84a184fc7e Tue Sep 14 16:41:04 CEST 2021 Masami Hiramatsu <mhiramat@kernel.org> 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>