Lines Matching defs:frame
133 struct stackframe *frame,
139 while (depth-- && !unwind_user_frame(frame, max_instr_check)) {
140 oprofile_add_trace(frame->ra);
141 if (frame->sp < low_addr || frame->sp > high_addr)
148 struct stackframe *frame,
152 struct stackframe *frame,
155 while (depth-- && frame->pc) {
156 frame->pc = unwind_stack_by_address(low_addr,
157 &(frame->sp),
158 frame->pc,
159 &(frame->ra));
160 oprofile_add_trace(frame->ra);
167 struct stackframe frame = { .sp = regs->regs[29],
171 const unsigned long low_addr = ALIGN(frame.sp, THREAD_SIZE);
174 do_user_backtrace(low_addr, &frame, depth);
176 do_kernel_backtrace(low_addr, &frame, depth);