tracing/probe: Add trace_event_call accesses APIs
Add trace_event_call access APIs for trace_probe. Instead of accessing trace_probe.call directly, use those accesses by trace_probe_event_call() method. This hides the relationship of trace_event_call and trace_probe from trace_kprobe and trace_uprobe. Link: http://lkml.kernel.org/r/155931587711.28323.8335129014686133120.stgit@devnote2 Signed-off-by:Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by:
Steven Rostedt (VMware) <rostedt@goodmis.org>
Showing
- kernel/trace/trace_kprobe.c 12 additions, 11 deletionskernel/trace/trace_kprobe.c
- kernel/trace/trace_probe.c 14 additions, 10 deletionskernel/trace/trace_probe.c
- kernel/trace/trace_probe.h 6 additions, 0 deletionskernel/trace/trace_probe.h
- kernel/trace/trace_uprobe.c 8 additions, 7 deletionskernel/trace/trace_uprobe.c
Loading
Please register or sign in to comment