| #ifndef _ASM_STACKTRACE_H |
| #define _ASM_STACKTRACE_H |
| extern int raw_show_trace; |
| extern unsigned long unwind_stack(struct task_struct *task, unsigned long *sp, |
| unsigned long pc, unsigned long *ra); |
| #define unwind_stack(task, sp, pc, ra) 0 |
| static __always_inline void prepare_frametrace(struct pt_regs *regs) |
| * Remove any garbage that may be in regs (specially func |
| * addresses) to avoid show_raw_backtrace() to report them |
| memset(regs, 0, sizeof(*regs)); |
| "=m" (regs->regs[29]), "=m" (regs->regs[31]) |
| #endif /* _ASM_STACKTRACE_H */ |