s390/ftrace: enable HAVE_FUNCTION_GRAPH_RETVAL
authorSven Schnelle <svens@linux.ibm.com>
Thu, 29 Jun 2023 10:02:19 +0000 (12:02 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 24 Jul 2023 10:12:22 +0000 (12:12 +0200)
commit1256e70a082ad855efe351146dfa39207d5e3e70
treea69c5b676f9373fbf896ba4826e165bdc9d99448
parent3325b4d85799957aa53514e69bed5c9df7771caf
s390/ftrace: enable HAVE_FUNCTION_GRAPH_RETVAL

Add support for tracing return values in the function graph tracer.
This requires return_to_handler() to record gpr2 and the frame pointer

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/Kconfig
arch/s390/include/asm/ftrace.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/mcount.S