s390/stacktrace: save full stack traces
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 1 Feb 2016 13:14:04 +0000 (14:14 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 10 Feb 2016 08:25:21 +0000 (09:25 +0100)
commit66adce8f1f9f3bcd743a0e72c10aa850df8c5fa7
tree4f439578bf730b056ccbdec3737421141bdd714d
parentf6331aaccbd980a49bff1559d66abcbd46af5b0a
s390/stacktrace: save full stack traces

save_stack_trace() only saves the stack trace of the current context
(interrupt or process context). This is different to what other
architectures like x86 do, which save the full stack trace across
different contexts.

Also extract a __save_stack_trace() helper function which will be used
by a follow on patch.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Tested-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/stacktrace.c