-
- Downloads
fprobe: Pass entry_data to handlers
Pass the private entry_data to the entry and exit handlers so that they can share the context data, something like saved function arguments etc. User must specify the private entry_data size by @entry_data_size field before registering the fprobe. Link: https://lkml.kernel.org/r/167526696173.433354.17408372048319432574.stgit@mhiramat.roam.corp.google.com Cc: Florent Revest <revest@chromium.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Will Deacon <will@kernel.org> Signed-off-by:Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by:
Steven Rostedt (Google) <rostedt@goodmis.org>
Showing
- include/linux/fprobe.h 6 additions, 2 deletionsinclude/linux/fprobe.h
- kernel/trace/bpf_trace.c 1 addition, 1 deletionkernel/trace/bpf_trace.c
- kernel/trace/fprobe.c 14 additions, 7 deletionskernel/trace/fprobe.c
- lib/test_fprobe.c 4 additions, 2 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