Lines Matching full:trace
5 * Stack trace management functions
23 struct stack_trace *trace = data; in save_stack_address() local
28 if (trace->skip > 0) { in save_stack_address()
29 trace->skip--; in save_stack_address()
33 if (trace->nr_entries < trace->max_entries) in save_stack_address()
34 trace->entries[trace->nr_entries++] = addr; in save_stack_address()
41 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
45 unwind_stack(current, NULL, sp, &save_stack_ops, trace); in save_stack_trace()
52 struct stack_trace *trace = (struct stack_trace *)data; in save_stack_address_nosched() local
60 if (trace->skip > 0) { in save_stack_address_nosched()
61 trace->skip--; in save_stack_address_nosched()
65 if (trace->nr_entries < trace->max_entries) in save_stack_address_nosched()
66 trace->entries[trace->nr_entries++] = addr; in save_stack_address_nosched()
73 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
77 unwind_stack(current, NULL, sp, &save_stack_ops_nosched, trace); in save_stack_trace_tsk()