CRIS: add STACKTRACE_SUPPORT
authorRabin Vincent <rabin@rab.in>
Thu, 14 May 2015 16:19:03 +0000 (18:19 +0200)
committerJesper Nilsson <jespern@axis.com>
Fri, 4 Sep 2015 22:56:50 +0000 (00:56 +0200)
commitaa6f4d2b6547a9949d87c9b09a872a7015366588
tree6efb66f528d045e050b21889c31937b5b4bbadf6
parent3fffa23ee0a348aef1b597b67626d4724667143b
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>
arch/cris/Kconfig
arch/cris/include/asm/stacktrace.h [new file with mode: 0644]
arch/cris/kernel/Makefile
arch/cris/kernel/stacktrace.c [new file with mode: 0644]