Lines Matching refs:frame
132 struct stackframe *frame, in do_user_backtrace() argument
138 while (depth-- && !unwind_user_frame(frame, max_instr_check)) { in do_user_backtrace()
139 oprofile_add_trace(frame->ra); in do_user_backtrace()
140 if (frame->sp < low_addr || frame->sp > high_addr) in do_user_backtrace()
147 struct stackframe *frame, in do_kernel_backtrace() argument
151 struct stackframe *frame, in do_kernel_backtrace() argument
154 while (depth-- && frame->pc) { in do_kernel_backtrace()
155 frame->pc = unwind_stack_by_address(low_addr, in do_kernel_backtrace()
156 &(frame->sp), in do_kernel_backtrace()
157 frame->pc, in do_kernel_backtrace()
158 &(frame->ra)); in do_kernel_backtrace()
159 oprofile_add_trace(frame->ra); in do_kernel_backtrace()
166 struct stackframe frame = { .sp = regs->regs[29], in op_mips_backtrace() local
170 const unsigned long low_addr = ALIGN(frame.sp, THREAD_SIZE); in op_mips_backtrace()
173 do_user_backtrace(low_addr, &frame, depth); in op_mips_backtrace()
175 do_kernel_backtrace(low_addr, &frame, depth); in op_mips_backtrace()