[RFC PATCH v3 4/4] arm64: Handle funtion graph tracer better in the unwinder

Mark Brown broonie at kernel.org
Thu May 6 07:43:52 PDT 2021


On Mon, May 03, 2021 at 12:36:15PM -0500, madvenka at linux.microsoft.com wrote:
> From: "Madhavan T. Venkataraman" <madvenka at linux.microsoft.com>
> 
> The Function Graph Tracer modifies the return address of a traced function
> to a return trampoline (return_to_handler()) to gather tracing data on
> function return. When the unwinder encounters return_to_handler(), it calls
> ftrace_graph_get_ret_stack() to lookup the original return address in the
> return address stack.

This makes sense to me, I'll need to re-review properly with the changes
earlier on in the series but should be fine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210506/b0ccf250/attachment.sig>


More information about the linux-arm-kernel mailing list