-
- Downloads
fprobe: Pass return address to the handlers
Pass return address as 'ret_ip' to the fprobe entry and return handlers so that the fprobe user handler can get the reutrn address without analyzing arch-dependent pt_regs. Link: https://lore.kernel.org/all/168507467664.913472.11642316698862778600.stgit@mhiramat.roam.corp.google.com/ Signed-off-by:Masami Hiramatsu (Google) <mhiramat@kernel.org>
Showing
- include/linux/fprobe.h 4 additions, 2 deletionsinclude/linux/fprobe.h
- include/linux/rethook.h 1 addition, 1 deletioninclude/linux/rethook.h
- kernel/kprobes.c 1 addition, 0 deletionskernel/kprobes.c
- kernel/trace/bpf_trace.c 4 additions, 2 deletionskernel/trace/bpf_trace.c
- kernel/trace/fprobe.c 3 additions, 3 deletionskernel/trace/fprobe.c
- kernel/trace/rethook.c 2 additions, 1 deletionkernel/trace/rethook.c
- lib/test_fprobe.c 7 additions, 3 deletionslib/test_fprobe.c
- samples/fprobe/fprobe_example.c 4 additions, 2 deletionssamples/fprobe/fprobe_example.c
Loading
Please register or sign in to comment