Lines Matching defs:trace

17 #include <trace/events/sched.h>
20 #include "trace.h"
292 static int entry_run(struct ftrace_graph_ent *trace, struct fgraph_ops *ops,
299 static void return_run(struct ftrace_graph_ret *trace, struct fgraph_ops *ops,
518 int ftrace_graph_entry_stub(struct ftrace_graph_ent *trace,
525 static void ftrace_graph_ret_stub(struct ftrace_graph_ret *trace,
558 /* Add a function return address to the trace stack on thread info.*/
651 struct ftrace_graph_ent trace;
661 trace.func = func;
662 trace.depth = ++current->curr_ret_depth;
672 if (static_call(fgraph_func)(&trace, fgraph_direct_gops, fregs))
690 gops->entryfunc(&trace, gops, fregs))
712 /* Retrieve a function return address to the trace stack on thread info.*/
714 ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret,
736 * the function graph trace will fail. This test detects this
760 trace->func = ret_stack->func;
761 trace->overrun = atomic_read(&current->trace_overrun);
762 trace->depth = current->curr_ret_depth;
764 * We still want to trace interrupts coming in if
799 * Send the trace to the ring-buffer.
806 struct ftrace_graph_ret trace;
813 ret_stack = ftrace_pop_return_trace(&trace, &ret, frame_pointer, &offset);
825 bit = ftrace_test_recursion_trylock(trace.func, ret);
835 trace.retval = ftrace_regs_get_return_value(fregs);
843 static_call(fgraph_retfunc)(&trace, fgraph_direct_gops, fregs);
853 gops->retfunc(&trace, gops, fregs);
1023 void ftrace_stub_graph(struct ftrace_graph_ret *trace, struct fgraph_ops *gops,
1194 static int fgraph_pid_func(struct ftrace_graph_ent *trace,
1210 return gops->saved_func(trace, gops, fregs);