Lines Matching refs:trace
28 struct stack_trace *trace = data; in save_stack_address() local
33 if (trace->skip > 0) { in save_stack_address()
34 trace->skip--; in save_stack_address()
38 if (trace->nr_entries < trace->max_entries) in save_stack_address()
39 trace->entries[trace->nr_entries++] = addr; in save_stack_address()
42 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
44 unwind_stack(trace, (unsigned long *) &trace, save_stack_address); in save_stack_trace()
51 struct stack_trace *trace = (struct stack_trace *)data; in save_stack_address_nosched() local
59 if (trace->skip > 0) { in save_stack_address_nosched()
60 trace->skip--; in save_stack_address_nosched()
64 if (trace->nr_entries < trace->max_entries) in save_stack_address_nosched()
65 trace->entries[trace->nr_entries++] = addr; in save_stack_address_nosched()
68 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
88 unwind_stack(trace, sp, save_stack_address_nosched); in save_stack_trace_tsk()
95 save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() argument
97 unwind_stack(trace, (unsigned long *) regs->sp, in save_stack_trace_regs()