[PATCH v11 4/8] arm64: ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL
Catalin Marinas
catalin.marinas at arm.com
Fri Jun 9 02:31:19 PDT 2023
On Sat, Apr 08, 2023 at 05:42:18AM -0700, Donglin Peng wrote:
> The previous patch ("function_graph: Support recording and printing
> the return value of function") has laid the groundwork for the for
> the funcgraph-retval, and this modification makes it available on
> the ARM64 platform.
>
> We introduce a new structure called fgraph_ret_regs for the ARM64
> platform to hold return registers and the frame pointer. We then
> fill its content in the return_to_handler and pass its address to
> the function ftrace_return_to_handler to record the return value.
>
> Reviewed-by: Mark Rutland <mark.rutland at arm.com>
> Tested-by: Mark Rutland <mark.rutland at arm.com>
> Signed-off-by: Donglin Peng <pengdonglin at sangfor.com.cn>
We fully trust Mark's reviews ;) but just in case you need an official
maintainer ack:
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-riscv
mailing list