ftrace: Remove data field from ftrace_func_probe structure
No users of the function probes uses the data field anymore. Remove it, and
change the init function to take a void *data parameter instead of a
void **data, because the init will just get the data that the registering
function was received, and there's no state after it is called.
The other functions for ftrace_probe_ops still take the data parameter, but
it will currently only be passed NULL. It will stay as a parameter for
future data to be passed to these functions.
Signed-off-by:
Steven Rostedt (VMware) <rostedt@goodmis.org>
Showing
- kernel/trace/ftrace.c 4 additions, 7 deletionskernel/trace/ftrace.c
- kernel/trace/trace.c 2 additions, 2 deletionskernel/trace/trace.c
- kernel/trace/trace.h 1 addition, 1 deletionkernel/trace/trace.h
- kernel/trace/trace_events.c 2 additions, 3 deletionskernel/trace/trace_events.c
- kernel/trace/trace_functions.c 2 additions, 2 deletionskernel/trace/trace_functions.c
Loading
Please register or sign in to comment