summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/ftrace.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2019-02-18 18:51:28 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-05-02 14:54:11 +0300
commitec7bf4789d95a0053bac0dfa36fbefd8cc584eea (patch)
tree5ad08bd5f30c065e312944baf8eafd0b4766f654 /arch/s390/include/asm/ftrace.h
parent78c98f9074135d3dab4e39544e0a537f92388fce (diff)
downloadlinux-ec7bf4789d95a0053bac0dfa36fbefd8cc584eea.tar.xz
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/include/asm/ftrace.h')
-rw-r--r--arch/s390/include/asm/ftrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ftrace.h b/arch/s390/include/asm/ftrace.h
index 6e0ed0338785..68d362f8d6c1 100644
--- a/arch/s390/include/asm/ftrace.h
+++ b/arch/s390/include/asm/ftrace.h
@@ -11,6 +11,8 @@
#define MCOUNT_RETURN_FIXUP 18
#endif
+#define HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
+
#ifndef __ASSEMBLY__
#ifdef CONFIG_CC_IS_CLANG