]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ftrace: Remove data field from ftrace_func_probe structure
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 4 Apr 2017 14:27:51 +0000 (10:27 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 21 Apr 2017 02:06:41 +0000 (22:06 -0400)
commit1a48df0041c2756194e700affb0e2ff084092e28
treea01a385fc939edce96bd61bb7bce51caacfb9220
parent02b77e2afb492420cabb117f3bbd7452d4b4ed06
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>
kernel/trace/ftrace.c
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_events.c
kernel/trace/trace_functions.c