]> Gentwo Git Trees - linux/.git/commit
ARM: 9457/1: ftrace: Implement HAVE_FUNCTION_GRAPH_FREGS
authorRichard Weinberger <richard@nod.at>
Wed, 20 Aug 2025 08:12:46 +0000 (09:12 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 2 Oct 2025 07:44:51 +0000 (08:44 +0100)
commit9aa791c8d7bfc46d8e155cfd812674e8ffedf6b9
tree4fc3f4b32fd48dc2a2bf46cf3b594a2e952accf1
parentfb0e5f266ebc86eb97e061ce5e3a74370c16de53
ARM: 9457/1: ftrace: Implement HAVE_FUNCTION_GRAPH_FREGS

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@sangfor.com.cn>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/Kconfig
arch/arm/kernel/entry-ftrace.S