Lines Matching refs:tsk
42 int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame) in unwind_frame() argument
50 if (!tsk) in unwind_frame()
51 tsk = current; in unwind_frame()
53 if (!on_accessible_stack(tsk, fp, &info)) in unwind_frame()
89 if (tsk->ret_stack && in unwind_frame()
98 ret_stack = ftrace_graph_get_ret_stack(tsk, frame->graph++); in unwind_frame()
120 void notrace walk_stackframe(struct task_struct *tsk, struct stackframe *frame, in walk_stackframe() argument
128 ret = unwind_frame(tsk, frame); in walk_stackframe()
140 void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk, in dump_backtrace() argument
146 pr_debug("%s(regs = %p tsk = %p)\n", __func__, regs, tsk); in dump_backtrace()
154 if (!tsk) in dump_backtrace()
155 tsk = current; in dump_backtrace()
157 if (!try_get_task_stack(tsk)) in dump_backtrace()
160 if (tsk == current) { in dump_backtrace()
169 thread_saved_fp(tsk), in dump_backtrace()
170 thread_saved_pc(tsk)); in dump_backtrace()
189 } while (!unwind_frame(tsk, &frame)); in dump_backtrace()
191 put_task_stack(tsk); in dump_backtrace()
194 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack() argument
196 dump_backtrace(NULL, tsk, loglvl); in show_stack()