Lines Matching defs:trace

16 #include "trace.h"
104 struct ftrace_graph_ent *trace,
117 entry->graph_ent = *trace;
132 int trace_graph_entry(struct ftrace_graph_ent *trace)
146 * Do not trace a function if it's filtered by set_graph_notrace.
152 if (ftrace_graph_notrace_addr(trace->func)) {
164 if (ftrace_graph_ignore_func(trace))
183 ret = __trace_graph_entry(tr, trace, trace_ctx);
223 struct ftrace_graph_ret *trace,
236 entry->ret = *trace;
241 void trace_graph_return(struct ftrace_graph_ret *trace)
250 ftrace_graph_addr_finish(trace);
263 __trace_graph_return(tr, trace, trace_ctx);
278 static void trace_graph_thresh_return(struct ftrace_graph_ret *trace)
280 ftrace_graph_addr_finish(trace);
288 (trace->rettime - trace->calltime < tracing_thresh))
291 trace_graph_return(trace);
341 * to the right a bit when trace output is pasted into
387 /* If the pid changed since the last trace, output this event */
408 * Context-switch trace line:
908 * Let's not trace it and clear the entry depth, since
963 print_graph_return(struct ftrace_graph_ret *trace, struct trace_seq *s,
967 unsigned long long duration = trace->rettime - trace->calltime;
975 if (check_irq_return(iter, flags, trace->depth))
989 cpu_data->depth = trace->depth - 1;
991 if (trace->depth < FTRACE_RETFUNC_DEPTH &&
992 !WARN_ON_ONCE(trace->depth < 0)) {
993 if (cpu_data->enter_funcs[trace->depth] != trace->func)
995 cpu_data->enter_funcs[trace->depth] = 0;
1005 for (i = 0; i < trace->depth * TRACE_GRAPH_INDENT; i++)
1013 print_graph_retval(s, trace->retval, false, (void *)trace->func,
1026 trace_seq_printf(s, "} /* %ps */\n", (void *)trace->func);
1032 trace->overrun);
1034 print_graph_irq(iter, trace->func, TRACE_GRAPH_RET,
1089 ret = event->funcs->trace(iter, sym_flags, event);
1160 /* dont trace stack and functions as comments */
1273 /* pid and depth on the last trace processed */
1339 .trace = print_graph_function_event,
1428 pr_warn("Warning: could not register graph trace events\n");
1433 pr_warn("Warning: could not register graph trace events\n");