]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/tracing: Enable HAVE_FTRACE_GRAPH_FUNC
authorSven Schnelle <svens@linux.ibm.com>
Thu, 26 Dec 2024 05:13:48 +0000 (14:13 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 26 Dec 2024 15:50:05 +0000 (10:50 -0500)
commit7495e179b478801433cec3cc4a82d2dcea35bf06
treed9e6a047681cf11f9ced4739b0d05574b07176ae
parenta762e9267dca843ced943ec24f20e110ba7c8431
s390/tracing: Enable HAVE_FTRACE_GRAPH_FUNC

Add ftrace_graph_func() which is required for fprobe to access registers.
This also eliminates the need for calling prepare_ftrace_return() from
ftrace_caller().

Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: Florent Revest <revest@chromium.org>
Cc: Martin KaFai Lau <martin.lau@linux.dev>
Cc: bpf <bpf@vger.kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Alan Maguire <alan.maguire@oracle.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/173519002875.391279.7060964632119674159.stgit@devnote2
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
arch/s390/Kconfig
arch/s390/include/asm/ftrace.h
arch/s390/kernel/entry.h
arch/s390/kernel/ftrace.c
arch/s390/kernel/mcount.S