diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-09-14 23:41:04 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-09-30 21:24:06 -0400 |
commit | 03bac0df2886882c43e6d0bfff9dee84a184fc7e (patch) | |
tree | d0c76f97fdbde14a6a8a755c50c50111a03bd335 /kernel/latencytop.c | |
parent | adf8a61a940c49fea6fab9c3865f2b69b8ceef28 (diff) |
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 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions