xref: /linux/arch/arm/include/asm/stacktrace.h (revision 0d456bad36d42d16022be045c8a53ddbb59ee478)
1 #ifndef __ASM_STACKTRACE_H
2 #define __ASM_STACKTRACE_H
3 
4 struct stackframe {
5 	unsigned long fp;
6 	unsigned long sp;
7 	unsigned long lr;
8 	unsigned long pc;
9 };
10 
11 extern int unwind_frame(struct stackframe *frame);
12 extern void walk_stackframe(struct stackframe *frame,
13 			    int (*fn)(struct stackframe *, void *), void *data);
14 
15 #endif	/* __ASM_STACKTRACE_H */
16