Re: [RFC PATCH 24/32] x86/ftrace: Enable HAVE_FUNCTION_GRAPH_FREGS
From: Peter Zijlstra <peterz@infradead.org>
Date: 2023-11-05 17:26:21
Also in:
bpf, lkml
From: Peter Zijlstra <peterz@infradead.org>
Date: 2023-11-05 17:26:21
Also in:
bpf, lkml
On Mon, Nov 06, 2023 at 01:11:21AM +0900, Masami Hiramatsu (Google) wrote:
From: Masami Hiramatsu (Google) <mhiramat@kernel.org> Support HAVE_FUNCTION_GRAPH_FREGS on x86-64, which saves ftrace_regs on the stack in ftrace_graph return trampoline so that the callbacks can access registers via ftrace_regs APIs.
What is ftrace_regs ? If I look at arch/x86/include/asm/ftrace.h it's a pointless wrapper around pt_regs. Can we please remove the pointless wrappery and call it what it is?