Messages in this thread | | | Date | Tue, 22 Feb 2022 11:05:47 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH] arm64/ftrace: Make function graph use ftrace directly |
| |
On Tue, 22 Feb 2022 15:54:44 +0000 Mark Rutland <mark.rutland@arm.com> wrote:
> > #ifdef CONFIG_DYNAMIC_FTRACE > > +#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS > > +int ftrace_enable_ftrace_graph_caller(void) > > +{ > > + return 0; > > +} > > + > > +int ftrace_disable_ftrace_graph_caller(void) > > +{ > > + return 0; > > +} > > It's a shame the core code doesn't provide this if we provide an > implementation of ftrace_graph_func.
As it was only x86_64 that took it out, I wasn't about to remove it. But now other archs are implementing it, I'm fine with making these weak functions in the core code.
-- Steve
| |