aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
-rw-r--r--kernel/trace/trace_functions_graph.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c
index ecf543df943b..eaf9b1629956 100644
--- a/kernel/trace/trace_functions_graph.c
+++ b/kernel/trace/trace_functions_graph.c
@@ -115,9 +115,6 @@ unsigned long ftrace_graph_ret_addr(struct task_struct *task, int *idx,
115 if (ret != (unsigned long)return_to_handler) 115 if (ret != (unsigned long)return_to_handler)
116 return ret; 116 return ret;
117 117
118 if (index < -1)
119 index += FTRACE_NOTRACE_DEPTH;
120
121 if (index < 0) 118 if (index < 0)
122 return ret; 119 return ret;
123 120
@@ -675,10 +672,6 @@ print_graph_entry_leaf(struct trace_iterator *iter,
675 672
676 cpu_data = per_cpu_ptr(data->cpu_data, cpu); 673 cpu_data = per_cpu_ptr(data->cpu_data, cpu);
677 674
678 /* If a graph tracer ignored set_graph_notrace */
679 if (call->depth < -1)
680 call->depth += FTRACE_NOTRACE_DEPTH;
681
682 /* 675 /*
683 * Comments display at + 1 to depth. Since 676 * Comments display at + 1 to depth. Since
684 * this is a leaf function, keep the comments 677 * this is a leaf function, keep the comments
@@ -721,10 +714,6 @@ print_graph_entry_nested(struct trace_iterator *iter,
721 struct fgraph_cpu_data *cpu_data; 714 struct fgraph_cpu_data *cpu_data;
722 int cpu = iter->cpu; 715 int cpu = iter->cpu;
723 716
724 /* If a graph tracer ignored set_graph_notrace */
725 if (call->depth < -1)
726 call->depth += FTRACE_NOTRACE_DEPTH;
727
728 cpu_data = per_cpu_ptr(data->cpu_data, cpu); 717 cpu_data = per_cpu_ptr(data->cpu_data, cpu);
729 cpu_data->depth = call->depth; 718 cpu_data->depth = call->depth;
730 719