mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 13:53:51 +07:00
aa6f4d2b65
Add stacktrace support, which is required for lockdep and tracing. The stack tracing simply looks at all kernel text symbols found on the stack, similar to the trap stack dumping code, which can also be converted to use this. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
9 lines
174 B
C
9 lines
174 B
C
#ifndef __CRIS_STACKTRACE_H
|
|
#define __CRIS_STACKTRACE_H
|
|
|
|
void walk_stackframe(unsigned long sp,
|
|
int (*fn)(unsigned long addr, void *data),
|
|
void *data);
|
|
|
|
#endif
|