]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ftrace: Pass probe ops to probe function
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 3 Apr 2017 22:18:47 +0000 (18:18 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 21 Apr 2017 02:06:37 +0000 (22:06 -0400)
commitbca6c8d0480a8aa5c86f8f416db96c71f6b79e29
treeaef6cd660ec1b1bf9c25f109cb282b6fcb190353
parente51a9896794bbb819d89b803e5a8446199034853
ftrace: Pass probe ops to probe function

In preparation to cleaning up the probe function registration code, the
"data" parameter will eventually be removed from the probe->func() call.
Instead it will receive its own "ops" function, in which it can set up its
own data that it needs to map.

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