1 #ifndef _LINUX_UNWINDER_H
2 #define _LINUX_UNWINDER_H
4 #include <asm/stacktrace.h>
10 void (*dump
)(struct task_struct
*, struct pt_regs
*,
11 unsigned long *, const struct stacktrace_ops
*, void *);
14 extern int unwinder_init(void);
15 extern int unwinder_register(struct unwinder
*);
17 extern void unwind_stack(struct task_struct
*, struct pt_regs
*,
18 unsigned long *, const struct stacktrace_ops
*,
21 extern void stack_reader_dump(struct task_struct
*, struct pt_regs
*,
22 unsigned long *, const struct stacktrace_ops
*,
26 * Used by fault handling code to signal to the unwinder code that it
27 * should switch to a different unwinder.
29 extern int unwinder_faulted
;
31 #endif /* _LINUX_UNWINDER_H */