s390/dumpstack: restore reliable indicator for call traces
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 17 Oct 2016 09:08:31 +0000 (11:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 17 Oct 2016 12:44:30 +0000 (14:44 +0200)
commitd0208639dbc6fe97a25054df44faa2d19aca9380
tree6830e46ff232f7a0e13560331b5646cf7e330325
parentb5003b5f0a19b6b37ab32b1f0c6b5da2cb3f0903
s390/dumpstack: restore reliable indicator for call traces

Before merging all different stack tracers the call traces printed had
an indicator if an entry can be considered reliable or not.
Unreliable entries were put in braces, reliable not. Currently all
lines contain these extra braces.

This patch restores the old behaviour by adding an extra "reliable"
parameter to the callback functions. Only show_trace makes currently
use of it.

Before:
[    0.804751] Call Trace:
[    0.804753] ([<000000000017d0e0>] try_to_wake_up+0x318/0x5e0)
[    0.804756] ([<0000000000161d64>] create_worker+0x174/0x1c0)

After:
[    0.804751] Call Trace:
[    0.804753] ([<000000000017d0e0>] try_to_wake_up+0x318/0x5e0)
[    0.804756]  [<0000000000161d64>] create_worker+0x174/0x1c0

Fixes: 758d39ebd3d5 ("s390/dumpstack: merge all four stack tracers")
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/dumpstack.c
arch/s390/kernel/perf_event.c
arch/s390/kernel/stacktrace.c
arch/s390/oprofile/init.c