tracing: probeevent: Unify fetch_insn processing common part
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 25 Apr 2018 12:19:59 +0000 (21:19 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 11 Oct 2018 02:19:09 +0000 (22:19 -0400)
commit9b960a38835fcaf977f20dcc34ce9e54ff9563bd
tree667aad6f436e5228009e5eedeb5600d43148088a
parent0a46c8549f8c775ed6afac57a8b9fd7c4b4d156f
tracing: probeevent: Unify fetch_insn processing common part

Unify the fetch_insn bottom process (from stage 2: dereference
indirect data) from kprobe and uprobe events, since those are
mostly same.

Link: http://lkml.kernel.org/r/152465879965.26224.8547240824606804815.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_kprobe.c
kernel/trace/trace_probe_tmpl.h
kernel/trace/trace_uprobe.c