summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions_graph.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_functions_graph.c
parent76c813e26606d35ea9d8d6f96e646b3944c730a9 (diff)
downloadblackbird-op-linux-345ddcc882d8896dcbdcb3e0ee4a415fc23ec8b0.tar.gz
blackbird-op-linux-345ddcc882d8896dcbdcb3e0ee4a415fc23ec8b0.zip
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_functions_graph.c')
-rw-r--r--kernel/trace/trace_functions_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c
index 3a0244ff7ea8..67cce7896aeb 100644
--- a/kernel/trace/trace_functions_graph.c
+++ b/kernel/trace/trace_functions_graph.c
@@ -319,7 +319,7 @@ int trace_graph_entry(struct ftrace_graph_ent *trace)
int cpu;
int pc;
- if (!ftrace_trace_task(current))
+ if (!ftrace_trace_task(tr))
return 0;
/* trace it when it is-nested-in or is a function enabled. */
OpenPOWER on IntegriCloud