OSDN Git Service

ftrace: Have the function probes call their own function
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 5 Apr 2017 01:31:28 +0000 (21:31 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 21 Apr 2017 02:06:43 +0000 (22:06 -0400)
commiteee8ded131f15e0f5b1897c9c4a7687fabd28822
tree20ade2877030156bf2624556ed1d9f950d50c335
parent1ec3a81a0cf4236b644282794932c4eda9c1714a
ftrace: Have the function probes call their own function

Now that the function probes have their own ftrace_ops, there's no reason to
continue using the ftrace_func_hash to find which probe to call in the
function callback. The ops that is passed in to the function callback is
part of the probe_ops to call.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/ftrace.c
kernel/trace/trace.h