CRIS: add STACKTRACE_SUPPORT
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>
This commit is contained in:

committed by
Jesper Nilsson

parent
3fffa23ee0
commit
aa6f4d2b65
8
arch/cris/include/asm/stacktrace.h
Normal file
8
arch/cris/include/asm/stacktrace.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef __CRIS_STACKTRACE_H
|
||||
#define __CRIS_STACKTRACE_H
|
||||
|
||||
void walk_stackframe(unsigned long sp,
|
||||
int (*fn)(unsigned long addr, void *data),
|
||||
void *data);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user