1
2
3
4 #ifndef __ASM_STACKTRACE_H
5 #define __ASM_STACKTRACE_H
6
7
8 struct stackframe {
9 unsigned long fp;
10 unsigned long sp;
11 unsigned long lp;
12 };
13
14
15
16
17
18
19
20
21
22
23 struct frame_tail {
24 unsigned long stack_fp;
25 unsigned long stack_lp;
26 };
27
28
29 struct frame_tail_opt_size {
30 unsigned long stack_r6;
31 unsigned long stack_fp;
32 unsigned long stack_gp;
33 unsigned long stack_lp;
34 };
35
36 extern void
37 get_real_ret_addr(unsigned long *addr, struct task_struct *tsk, int *graph);
38
39 #endif