Lines Matching refs:trace
188 struct stack_trace *trace = arg; in __collect_all() local
190 if (trace->skip > 0) in __collect_all()
191 trace->skip--; in __collect_all()
193 trace->entries[trace->nr_entries++] = address; in __collect_all()
195 if (trace->nr_entries >= trace->max_entries) in __collect_all()
203 struct stack_trace *trace = arg; in __collect_all_but_sched() local
208 if (trace->skip > 0) in __collect_all_but_sched()
209 trace->skip--; in __collect_all_but_sched()
211 trace->entries[trace->nr_entries++] = address; in __collect_all_but_sched()
213 if (trace->nr_entries >= trace->max_entries) in __collect_all_but_sched()
263 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
266 arc_unwind_core(tsk, NULL, __collect_all_but_sched, trace); in save_stack_trace_tsk()
269 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
272 arc_unwind_core(NULL, NULL, __collect_all, trace); in save_stack_trace()