Lines Matching refs:depth
51 int depth; member
122 ftrace_push_return_trace(unsigned long ret, unsigned long func, int *depth, in ftrace_push_return_trace() argument
180 *depth = current->curr_ret_stack; in ftrace_push_return_trace()
244 trace->depth = index; in ftrace_pop_return_trace()
435 .depth = 0, in __trace_graph_function()
439 .depth = 0, in __trace_graph_function()
847 if (call->depth < -1) in print_graph_entry_leaf()
848 call->depth += FTRACE_NOTRACE_DEPTH; in print_graph_entry_leaf()
855 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
858 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_leaf()
859 !WARN_ON_ONCE(call->depth < 0)) in print_graph_entry_leaf()
860 cpu_data->enter_funcs[call->depth] = 0; in print_graph_entry_leaf()
867 for (i = 0; i < call->depth * TRACE_GRAPH_INDENT; i++) in print_graph_entry_leaf()
893 if (call->depth < -1) in print_graph_entry_nested()
894 call->depth += FTRACE_NOTRACE_DEPTH; in print_graph_entry_nested()
897 cpu_data->depth = call->depth; in print_graph_entry_nested()
900 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_nested()
901 !WARN_ON_ONCE(call->depth < 0)) in print_graph_entry_nested()
902 cpu_data->enter_funcs[call->depth] = call->func; in print_graph_entry_nested()
909 for (i = 0; i < call->depth * TRACE_GRAPH_INDENT; i++) in print_graph_entry_nested()
977 unsigned long addr, int depth) in check_irq_entry() argument
1007 *depth_irq = depth; in check_irq_entry()
1023 check_irq_return(struct trace_iterator *iter, u32 flags, int depth) in check_irq_return() argument
1055 if (*depth_irq >= depth) { in check_irq_return()
1076 if (check_irq_entry(iter, flags, call->func, call->depth)) in print_graph_entry()
1115 if (check_irq_return(iter, flags, trace->depth)) in print_graph_return()
1129 cpu_data->depth = trace->depth - 1; in print_graph_return()
1131 if (trace->depth < FTRACE_RETFUNC_DEPTH && in print_graph_return()
1132 !WARN_ON_ONCE(trace->depth < 0)) { in print_graph_return()
1133 if (cpu_data->enter_funcs[trace->depth] != trace->func) in print_graph_return()
1135 cpu_data->enter_funcs[trace->depth] = 0; in print_graph_return()
1145 for (i = 0; i < trace->depth * TRACE_GRAPH_INDENT; i++) in print_graph_return()
1179 int depth = 0; in print_graph_comment() local
1184 depth = per_cpu_ptr(data->cpu_data, iter->cpu)->depth; in print_graph_comment()
1192 if (depth > 0) in print_graph_comment()
1193 for (i = 0; i < (depth + 1) * TRACE_GRAPH_INDENT; i++) in print_graph_comment()
1418 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); in graph_trace_open() local
1423 *depth = 0; in graph_trace_open()