diff options
author | Rabin Vincent <rabin@rab.in> | 2015-05-14 18:19:03 +0200 |
---|---|---|
committer | Jesper Nilsson <jespern@axis.com> | 2015-09-05 00:56:50 +0200 |
commit | aa6f4d2b6547a9949d87c9b09a872a7015366588 (patch) | |
tree | 6efb66f528d045e050b21889c31937b5b4bbadf6 /arch/cris/include | |
parent | 3fffa23ee0a348aef1b597b67626d4724667143b (diff) |
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>
Diffstat (limited to 'arch/cris/include')
-rw-r--r-- | arch/cris/include/asm/stacktrace.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/cris/include/asm/stacktrace.h b/arch/cris/include/asm/stacktrace.h new file mode 100644 index 000000000000..2d90856943ad --- /dev/null +++ b/arch/cris/include/asm/stacktrace.h @@ -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 |