Lines Matching refs:depth

49 	int		depth;  member
120 ftrace_push_return_trace(unsigned long ret, unsigned long func, int *depth, in ftrace_push_return_trace() argument
174 *depth = current->curr_ret_stack; in ftrace_push_return_trace()
238 trace->depth = index; in ftrace_pop_return_trace()
325 if ((!(trace->depth || ftrace_graph_addr(trace->func)) || in trace_graph_entry()
326 ftrace_graph_ignore_irqs()) || (trace->depth < 0) || in trace_graph_entry()
327 (max_depth && trace->depth >= max_depth)) in trace_graph_entry()
372 .depth = 0, in __trace_graph_function()
376 .depth = 0, in __trace_graph_function()
788 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
791 if (call->depth < FTRACE_RETFUNC_DEPTH) in print_graph_entry_leaf()
792 cpu_data->enter_funcs[call->depth] = 0; in print_graph_entry_leaf()
799 for (i = 0; i < call->depth * TRACE_GRAPH_INDENT; i++) in print_graph_entry_leaf()
822 cpu_data->depth = call->depth; in print_graph_entry_nested()
825 if (call->depth < FTRACE_RETFUNC_DEPTH) in print_graph_entry_nested()
826 cpu_data->enter_funcs[call->depth] = call->func; in print_graph_entry_nested()
833 for (i = 0; i < call->depth * TRACE_GRAPH_INDENT; i++) in print_graph_entry_nested()
901 unsigned long addr, int depth) in check_irq_entry() argument
931 *depth_irq = depth; in check_irq_entry()
947 check_irq_return(struct trace_iterator *iter, u32 flags, int depth) in check_irq_return() argument
979 if (*depth_irq >= depth) { in check_irq_return()
1000 if (check_irq_entry(iter, flags, call->func, call->depth)) in print_graph_entry()
1039 if (check_irq_return(iter, flags, trace->depth)) in print_graph_return()
1053 cpu_data->depth = trace->depth - 1; in print_graph_return()
1055 if (trace->depth < FTRACE_RETFUNC_DEPTH) { in print_graph_return()
1056 if (cpu_data->enter_funcs[trace->depth] != trace->func) in print_graph_return()
1058 cpu_data->enter_funcs[trace->depth] = 0; in print_graph_return()
1068 for (i = 0; i < trace->depth * TRACE_GRAPH_INDENT; i++) in print_graph_return()
1102 int depth = 0; in print_graph_comment() local
1107 depth = per_cpu_ptr(data->cpu_data, iter->cpu)->depth; in print_graph_comment()
1115 if (depth > 0) in print_graph_comment()
1116 for (i = 0; i < (depth + 1) * TRACE_GRAPH_INDENT; i++) in print_graph_comment()
1336 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); in graph_trace_open() local
1341 *depth = 0; in graph_trace_open()