Lines Matching refs:trace
17 struct stack_trace *trace = data; in __save_address() local
21 if (trace->skip > 0) { in __save_address()
22 trace->skip--; in __save_address()
25 if (trace->nr_entries < trace->max_entries) { in __save_address()
26 trace->entries[trace->nr_entries++] = address; in __save_address()
42 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
47 dump_trace(save_address, trace, NULL, sp); in save_stack_trace()
48 if (trace->nr_entries < trace->max_entries) in save_stack_trace()
49 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace()
53 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
60 dump_trace(save_address_nosched, trace, tsk, sp); in save_stack_trace_tsk()
61 if (trace->nr_entries < trace->max_entries) in save_stack_trace_tsk()
62 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
66 void save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() argument
71 dump_trace(save_address, trace, NULL, sp); in save_stack_trace_regs()
72 if (trace->nr_entries < trace->max_entries) in save_stack_trace_regs()
73 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_regs()