[PATCH v3] ftrace: Consolidate ftrace_regs accessor functions for archs using pt_regs

Steven Rostedt rostedt at goodmis.org
Sat Oct 12 00:27:14 AEDT 2024


On Fri, 11 Oct 2024 11:26:10 +0100
Catalin Marinas <catalin.marinas at arm.com> wrote:

> On Thu, Oct 10, 2024 at 08:21:14PM -0400, Steven Rostedt wrote:
> > diff --git a/arch/arm64/include/asm/ftrace.h b/arch/arm64/include/asm/ftrace.h
> > index bbb69c7751b9..5ccff4de7f09 100644
> > --- a/arch/arm64/include/asm/ftrace.h
> > +++ b/arch/arm64/include/asm/ftrace.h
> > @@ -54,6 +54,7 @@ extern void return_to_handler(void);
> >  unsigned long ftrace_call_adjust(unsigned long addr);
> >  
> >  #ifdef CONFIG_DYNAMIC_FTRACE_WITH_ARGS
> > +#define HAVE_ARCH_FTRACE_REGS
> >  struct dyn_ftrace;
> >  struct ftrace_ops;
> >  struct ftrace_regs;  
> 
> In case you need an ack for the arm64 change
> 
> Acked-by: Catalin Marinas <catalin.marinas at arm.com>

Thanks, appreciate it.

-- Steve


More information about the Linuxppc-dev mailing list