Lines Matching refs:trace

181 ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret,  in ftrace_pop_return_trace()  argument
235 trace->func = current->ret_stack[index].func; in ftrace_pop_return_trace()
236 trace->calltime = current->ret_stack[index].calltime; in ftrace_pop_return_trace()
237 trace->overrun = atomic_read(&current->trace_overrun); in ftrace_pop_return_trace()
238 trace->depth = index; in ftrace_pop_return_trace()
247 struct ftrace_graph_ret trace; in ftrace_return_to_handler() local
250 ftrace_pop_return_trace(&trace, &ret, frame_pointer); in ftrace_return_to_handler()
251 trace.rettime = trace_clock_local(); in ftrace_return_to_handler()
269 ftrace_graph_return(&trace); in ftrace_return_to_handler()
282 struct ftrace_graph_ent *trace, in __trace_graph_entry() argument
296 entry->graph_ent = *trace; in __trace_graph_entry()
311 int trace_graph_entry(struct ftrace_graph_ent *trace) in trace_graph_entry() argument
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()
337 if (ftrace_graph_notrace_addr(trace->func)) in trace_graph_entry()
346 ret = __trace_graph_entry(tr, trace, flags, pc); in trace_graph_entry()
357 static int trace_graph_thresh_entry(struct ftrace_graph_ent *trace) in trace_graph_thresh_entry() argument
362 return trace_graph_entry(trace); in trace_graph_thresh_entry()
394 struct ftrace_graph_ret *trace, in __trace_graph_return() argument
408 entry->ret = *trace; in __trace_graph_return()
413 void trace_graph_return(struct ftrace_graph_ret *trace) in trace_graph_return() argument
428 __trace_graph_return(tr, trace, flags, pc); in trace_graph_return()
443 static void trace_graph_thresh_return(struct ftrace_graph_ret *trace) in trace_graph_thresh_return() argument
446 (trace->rettime - trace->calltime < tracing_thresh)) in trace_graph_thresh_return()
449 trace_graph_return(trace); in trace_graph_thresh_return()
1027 print_graph_return(struct ftrace_graph_ret *trace, struct trace_seq *s, in print_graph_return() argument
1031 unsigned long long duration = trace->rettime - trace->calltime; in print_graph_return()
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()
1081 trace_seq_printf(s, "} /* %ps */\n", (void *)trace->func); in print_graph_return()
1086 trace->overrun); in print_graph_return()
1088 print_graph_irq(iter, trace->func, TRACE_GRAPH_RET, in print_graph_return()
1138 ret = event->funcs->trace(iter, sym_flags, event); in print_graph_comment()
1382 .trace = print_graph_function_event,