Re: [PATCH v19 11/19] s390/tracing: Enable HAVE_FTRACE_GRAPH_FUNC

From
Heiko Carstens <hca@linux.ibm.com>
Date
2024-11-10 17:05:40
Also in
bpf, linux-arch, lkml
Reply to
Masami Hiramatsu (Google), 2024-11-10
On Mon, Nov 11, 2024 at 12:50:58AM +0900, Masami Hiramatsu (Google) wrote:
From: Sven Schnelle <svens@linux.ibm.com>

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().

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
---
 Changes in v19:
  - Newly added.
---
 arch/s390/Kconfig              |    1 +
 arch/s390/include/asm/ftrace.h |    5 ++++
 arch/s390/kernel/entry.h       |    1 -
 arch/s390/kernel/ftrace.c      |   48 ++++++++++++----------------------------
 arch/s390/kernel/mcount.S      |   11 ---------
 5 files changed, 20 insertions(+), 46 deletions(-)
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Thread (30 messages) 30 messages, 3 authors, last reply 2024-12-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help