stacktrace.h 353 B

12345678910111213141516
  1. #ifndef __ASM_STACKTRACE_H
  2. #define __ASM_STACKTRACE_H
  3. struct stackframe {
  4. unsigned long fp;
  5. unsigned long sp;
  6. unsigned long lr;
  7. unsigned long pc;
  8. };
  9. extern int unwind_frame(struct stackframe *frame);
  10. extern void walk_stackframe(struct stackframe *frame,
  11. int (*fn)(struct stackframe *, void *), void *data);
  12. #endif /* __ASM_STACKTRACE_H */