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

Catalin Marinas catalin.marinas at arm.com
Thu Sep 5 10:19:20 PDT 2024


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




More information about the linux-arm-kernel mailing list