Lines Matching full:trace

4  * Stack trace utility functions etc.
29 static void save_context_stack(struct stack_trace *trace, unsigned long sp, in save_context_stack() argument
43 if (!trace->skip) in save_context_stack()
44 trace->entries[trace->nr_entries++] = ip; in save_context_stack()
46 trace->skip--; in save_context_stack()
49 if (trace->nr_entries >= trace->max_entries) in save_context_stack()
56 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
62 save_context_stack(trace, sp, current, 1); in save_stack_trace()
66 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
78 save_context_stack(trace, sp, tsk, 0); in save_stack_trace_tsk()
85 save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() argument
87 save_context_stack(trace, regs->gpr[1], current, 0); in save_stack_trace_regs()
94 * stack. Otherwise it guarantees that the stack trace is reliable.
99 struct stack_trace *trace) in __save_stack_trace_tsk_reliable() argument
121 * an unreliable stack trace until it's been in __save_stack_trace_tsk_reliable()
195 if (trace->nr_entries >= trace->max_entries) in __save_stack_trace_tsk_reliable()
197 if (!trace->skip) in __save_stack_trace_tsk_reliable()
198 trace->entries[trace->nr_entries++] = ip; in __save_stack_trace_tsk_reliable()
200 trace->skip--; in __save_stack_trace_tsk_reliable()
206 struct stack_trace *trace) in save_stack_trace_tsk_reliable() argument
217 ret = __save_stack_trace_tsk_reliable(tsk, trace); in save_stack_trace_tsk_reliable()
262 pr_warn("Back trace of paca->saved_r1 (0x%016llx) (possibly stale):\n", p->saved_r1); in raise_backtrace_ipi()