Re: [PATCH v7 28/36] tracing: Add ftrace_partial_regs() for converting ftrace_regs to pt_regs
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2024-02-15 16:10:02
Also in:
bpf, lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2024-02-15 16:10:02
Also in:
bpf, lkml
On Wed, 7 Feb 2024 00:12:40 +0900 "Masami Hiramatsu (Google)" [off-list ref] wrote:
From: Masami Hiramatsu (Google) <mhiramat@kernel.org> Add ftrace_partial_regs() which converts the ftrace_regs to pt_regs. If the architecture defines its own ftrace_regs, this copies partial registers to pt_regs and returns it. If not, ftrace_regs is the same as pt_regs and ftrace_partial_regs() will return ftrace_regs::regs.
This says what this patch is doing and not why it is doing it. -- Steve
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Acked-by: Florent Revest <redacted> --- Changes from previous series: NOTHING, just forward ported. ---