diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-02-18 16:51:28 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-05-02 13:54:11 +0200 |
commit | ec7bf4789d95a0053bac0dfa36fbefd8cc584eea (patch) | |
tree | 5ad08bd5f30c065e312944baf8eafd0b4766f654 /arch/s390/kernel/unwind_bc.c | |
parent | 78c98f9074135d3dab4e39544e0a537f92388fce (diff) | |
download | linux-ec7bf4789d95a0053bac0dfa36fbefd8cc584eea.tar.gz linux-ec7bf4789d95a0053bac0dfa36fbefd8cc584eea.tar.bz2 linux-ec7bf4789d95a0053bac0dfa36fbefd8cc584eea.zip |
s390/ftrace: use HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
Make the call chain more reliable by tagging the ftrace stack entries
with the stack pointer that is associated with the return address.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/unwind_bc.c')
-rw-r--r-- | arch/s390/kernel/unwind_bc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/unwind_bc.c b/arch/s390/kernel/unwind_bc.c index cf5a630f3aa9..57fd4e902f1f 100644 --- a/arch/s390/kernel/unwind_bc.c +++ b/arch/s390/kernel/unwind_bc.c @@ -84,7 +84,7 @@ bool unwind_next_frame(struct unwind_state *state) /* Decode any ftrace redirection */ if (ip == (unsigned long) return_to_handler) ip = ftrace_graph_ret_addr(state->task, &state->graph_idx, - ip, NULL); + ip, (void *) sp); #endif /* Update unwind state */ |