Lines Matching refs:trace

176 ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret,  in ftrace_pop_return_trace()  argument
230 trace->func = current->ret_stack[index].func; in ftrace_pop_return_trace()
231 trace->calltime = current->ret_stack[index].calltime; in ftrace_pop_return_trace()
232 trace->overrun = atomic_read(&current->trace_overrun); in ftrace_pop_return_trace()
233 trace->depth = index; in ftrace_pop_return_trace()
242 struct ftrace_graph_ret trace; in ftrace_return_to_handler() local
245 ftrace_pop_return_trace(&trace, &ret, frame_pointer); in ftrace_return_to_handler()
246 trace.rettime = trace_clock_local(); in ftrace_return_to_handler()
264 ftrace_graph_return(&trace); in ftrace_return_to_handler()
277 struct ftrace_graph_ent *trace, in __trace_graph_entry() argument
294 entry->graph_ent = *trace; in __trace_graph_entry()
309 int trace_graph_entry(struct ftrace_graph_ent *trace) in trace_graph_entry() argument
323 if ((!(trace->depth || ftrace_graph_addr(trace->func)) || in trace_graph_entry()
324 ftrace_graph_ignore_irqs()) || (trace->depth < 0) || in trace_graph_entry()
325 (max_depth && trace->depth >= max_depth)) in trace_graph_entry()
335 if (ftrace_graph_notrace_addr(trace->func)) in trace_graph_entry()
344 ret = __trace_graph_entry(tr, trace, flags, pc); in trace_graph_entry()
355 static int trace_graph_thresh_entry(struct ftrace_graph_ent *trace) in trace_graph_thresh_entry() argument
360 return trace_graph_entry(trace); in trace_graph_thresh_entry()
392 struct ftrace_graph_ret *trace, in __trace_graph_return() argument
409 entry->ret = *trace; in __trace_graph_return()
414 void trace_graph_return(struct ftrace_graph_ret *trace) in trace_graph_return() argument
429 __trace_graph_return(tr, trace, flags, pc); in trace_graph_return()
444 static void trace_graph_thresh_return(struct ftrace_graph_ret *trace) in trace_graph_thresh_return() argument
447 (trace->rettime - trace->calltime < tracing_thresh)) in trace_graph_thresh_return()
450 trace_graph_return(trace); in trace_graph_thresh_return()
1024 print_graph_return(struct ftrace_graph_ret *trace, struct trace_seq *s, in print_graph_return() argument
1028 unsigned long long duration = trace->rettime - trace->calltime; in print_graph_return()
1035 if (check_irq_return(iter, flags, trace->depth)) in print_graph_return()
1049 cpu_data->depth = trace->depth - 1; in print_graph_return()
1051 if (trace->depth < FTRACE_RETFUNC_DEPTH) { in print_graph_return()
1052 if (cpu_data->enter_funcs[trace->depth] != trace->func) in print_graph_return()
1054 cpu_data->enter_funcs[trace->depth] = 0; in print_graph_return()
1064 for (i = 0; i < trace->depth * TRACE_GRAPH_INDENT; i++) in print_graph_return()
1077 trace_seq_printf(s, "} /* %ps */\n", (void *)trace->func); in print_graph_return()
1082 trace->overrun); in print_graph_return()
1084 print_graph_irq(iter, trace->func, TRACE_GRAPH_RET, in print_graph_return()
1133 ret = event->funcs->trace(iter, sym_flags, event); in print_graph_comment()
1369 .trace = print_graph_function_event,