mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 15:05:03 +07:00
16 lines
353 B
C
16 lines
353 B
C
|
#ifndef __ASM_STACKTRACE_H
|
||
|
#define __ASM_STACKTRACE_H
|
||
|
|
||
|
struct stackframe {
|
||
|
unsigned long fp;
|
||
|
unsigned long sp;
|
||
|
unsigned long lr;
|
||
|
unsigned long pc;
|
||
|
};
|
||
|
|
||
|
extern int unwind_frame(struct stackframe *frame);
|
||
|
extern void walk_stackframe(struct stackframe *frame,
|
||
|
int (*fn)(struct stackframe *, void *), void *data);
|
||
|
|
||
|
#endif /* __ASM_STACKTRACE_H */
|