Re: [PATCH] ARM: ftrace: Implement HAVE_FUNCTION_GRAPH_FREGS

From: Linus Walleij
Date: Wed Aug 20 2025 - 03:21:12 EST


On Mon, Aug 18, 2025 at 12:40 PM Richard Weinberger <richard@xxxxxx> wrote:

> Enable support for ftrace's funcgraph-retval feature by capturing r0-r3
> and fp.
> Since ARM does not provide its own __arch_ftrace_regs structure,
> we instead populate pt_regs with the registers required by ftrace.
>
> Cc: Donglin Peng <pengdonglin@xxxxxxxxxxxxxx>
> Signed-off-by: Richard Weinberger <richard@xxxxxx>

LGTM
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Can you put this patch into Russell's patch tracker?
https://www.armlinux.org.uk/developer/patches/

Yours,
Linus Walleij