Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC

Steven Rostedt
2008-11-19T12:15:37Z

On Wed, 19 Nov 2008, Steven Rostedt wrote:

>
> On Wed, 19 Nov 2008, Ingo Molnar wrote:
> >
> > Maybe Steve could do the following trick: create a Linus -git based
> > branch that uses the new APIs but marks ppc's ftrace as "depends 0" in
> > the powerpc Kconfig. (the new ftrace.c wont build)
>
> There's only two generic commits that need to be added for the PowerPC
> code to work.
>
> ftrace: pass module struct to arch dynamic ftrace functions
> ftrace: allow NULL pointers in mcount_loc
>
> I've already ported them to mainline to test PowerPC there.
> Paul could use these two versions and keep ftrace in a separate branch in
> his tree. This way all the PowerPC code will be there, and actually can be
> tested. They may still hit the same bugs that we have fixed in tip, but
> those should all be minor, since any major bug is already in mainline or
> on its way.

I just pushed all the PowerPC patches on top of this port it works.
I still need to rework the patches for Paul.

-- Steve