diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-04-05 01:16:29 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-04-21 05:06:43 +0300 |
commit | 1ec3a81a0cf4236b644282794932c4eda9c1714a (patch) | |
tree | 398e8cab5a17fdf09b6923a880deb1336f40fbb3 /kernel/trace/trace.h | |
parent | d3d532d798c5720055ab02a10bf7829a33c3645a (diff) | |
download | linux-1ec3a81a0cf4236b644282794932c4eda9c1714a.tar.xz |
ftrace: Have each function probe use its own ftrace_ops
Have the function probes have their own ftrace_ops, and remove the
trace_probe_ops. This simplifies some of the ftrace infrastructure code.
Individual entries for each function is still allocated for the use of the
output for set_ftrace_filter, but they will be removed soon too.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 31d80bff9ee6..e16c67c49de4 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -932,6 +932,7 @@ static inline void ftrace_pid_follow_fork(struct trace_array *tr, bool enable) { #if defined(CONFIG_FUNCTION_TRACER) && defined(CONFIG_DYNAMIC_FTRACE) struct ftrace_probe_ops { + struct ftrace_ops ops; void (*func)(unsigned long ip, unsigned long parent_ip, struct ftrace_probe_ops *ops, |