Re: [PATCH] arm64: stacktrace: fix the usage of ftrace_graph_ret_addr()

From: Catalin Marinas
Date: Thu Sep 05 2024 - 13:19:32 EST


On Tue, 18 Jun 2024 16:23:42 +0000, Puranjay Mohan wrote:
> ftrace_graph_ret_addr() takes an 'idx' integer pointer that is used to
> optimize the stack unwinding process. arm64 currently passes `NULL` for
> this parameter which stops it from utilizing these optimizations.
>
> Further, the current code for ftrace_graph_ret_addr() will just return
> the passed in return address if it is NULL which will break this usage.
>
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: stacktrace: fix the usage of ftrace_graph_ret_addr()
https://git.kernel.org/arm64/c/c060f93253ca

--
Catalin