]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ba7c1bb28d5f31c60cc6aca843e3e6a0ffb4fc7
tree4f439578bf730b056ccbdec3737421141bdd714d
parent2106040d16c3d15f62d71ba72d26d8c036db0895
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