summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/pti.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2021-09-14 23:41:04 +0900
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-09-30 21:24:06 -0400
commit03bac0df2886882c43e6d0bfff9dee84a184fc7e (patch)
treed0c76f97fdbde14a6a8a755c50c50111a03bd335 /arch/x86/mm/pti.c
parentadf8a61a940c49fea6fab9c3865f2b69b8ceef28 (diff)
downloadlinux-03bac0df2886882c43e6d0bfff9dee84a184fc7e.tar.bz2
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>
Diffstat (limited to 'arch/x86/mm/pti.c')
0 files changed, 0 insertions, 0 deletions