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

Heiko Carstens
2024-11-10T17:05:40Z

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>