Re: [PATCH] ftrace: Make ftrace_regs abstract from direct use

From: Steven Rostedt
Date: Tue Oct 08 2024 - 13:33:38 EST


On Tue, 8 Oct 2024 16:58:52 +0200
Heiko Carstens <hca@xxxxxxxxxxxxx> wrote:

> On Mon, Oct 07, 2024 at 08:54:58PM -0400, Steven Rostedt wrote:
> > On Mon, 7 Oct 2024 20:47:43 -0400
> > Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> > #define arch_ftrace_get_regs(fregs) ({ &arch_ftrace_regs(fregs)->regs; })
> >
> > I may send a v2 (tomorrow).
>
> Could you also write against which tree this patch is?
> It doesn't apply on top of Linus' master branch.

Ah, sorry, I should have specified. It applies to my ftrace/for-next branch
(which is also part of linux-next). I just checked out linux-next, and it
still applies but with some shifts, so updates from other trees do affect
it slightly.

If you want it to apply cleanly, use this tree:

https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git/ ftrace/for-next

-- Steve