summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2016-04-22 18:11:33 -0400
committerSteven Rostedt <rostedt@goodmis.org>2016-06-20 09:54:19 -0400
commit345ddcc882d8896dcbdcb3e0ee4a415fc23ec8b0 (patch)
tree49af19740e387650bd088a321e2add61b03bbd36 /kernel/trace/trace.c
parent76c813e26606d35ea9d8d6f96e646b3944c730a9 (diff)
downloadop-kernel-dev-345ddcc882d8896dcbdcb3e0ee4a415fc23ec8b0.zip
op-kernel-dev-345ddcc882d8896dcbdcb3e0ee4a415fc23ec8b0.tar.gz
ftrace: Have set_ftrace_pid use the bitmap like events do
Convert set_ftrace_pid to use the bitmap like set_event_pid does. This allows for instances to use the pid filtering as well, and will allow for function-fork option to set if the children of a traced function should be traced or not. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index a8bb7485..aa24055 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -7233,6 +7233,7 @@ init_tracer_tracefs(struct trace_array *tr, struct dentry *d_tracer)
for_each_tracing_cpu(cpu)
tracing_init_tracefs_percpu(tr, cpu);
+ ftrace_init_tracefs(tr, d_tracer);
}
static struct vfsmount *trace_automount(void *ingore)
OpenPOWER on IntegriCloud