Thread (4 messages) flat view 4 messages, 3 authors, 2021-11-15

Re: [PATCH v2] arm64: ftrace: use HAVE_FUNCTION_GRAPH_RET_ADDR_PTR

From: Will Deacon <will@kernel.org>
Date: 2021-11-03 13:21:28

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help