[PATCH v2] arm64: ftrace: use HAVE_FUNCTION_GRAPH_RET_ADDR_PTR

Will Deacon will at kernel.org
Wed Nov 3 06:19:45 PDT 2021


On Fri, 29 Oct 2021 17:22:45 +0100, Mark Rutland wrote:
> When CONFIG_FUNCTION_GRAPH_TRACER is selected and the function graph
> tracer is in use, unwind_frame() may erroneously associate a traced
> function with an incorrect return address. This can happen when starting
> an unwind from a pt_regs, or when unwinding across an exception
> boundary.
> 
> This can be seen when recording with perf while the function graph
> tracer is in use. For example:
> 
> [...]

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

[1/1] arm64: ftrace: use HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
      https://git.kernel.org/arm64/c/552e196d88e5

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list