Lines Matching refs:trace
187 struct stack_trace *trace = arg; in __collect_all() local
189 if (trace->skip > 0) in __collect_all()
190 trace->skip--; in __collect_all()
192 trace->entries[trace->nr_entries++] = address; in __collect_all()
194 if (trace->nr_entries >= trace->max_entries) in __collect_all()
202 struct stack_trace *trace = arg; in __collect_all_but_sched() local
207 if (trace->skip > 0) in __collect_all_but_sched()
208 trace->skip--; in __collect_all_but_sched()
210 trace->entries[trace->nr_entries++] = address; in __collect_all_but_sched()
212 if (trace->nr_entries >= trace->max_entries) in __collect_all_but_sched()
262 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
265 arc_unwind_core(tsk, NULL, __collect_all_but_sched, trace); in save_stack_trace_tsk()
268 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
271 arc_unwind_core(NULL, NULL, __collect_all, trace); in save_stack_trace()