ftrace: Have set_ftrace_pid use the bitmap like events do
[cascardo/linux.git] / kernel / trace / trace_functions_graph.c
index 3a0244f..67cce78 100644 (file)
@@ -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. */