[PATCH 2/2] perf_counter: powerpc: Add callchain support

Ingo Molnar mingo at elte.hu
Sun Jun 28 02:58:45 EST 2009


* Peter Zijlstra <a.p.zijlstra at chello.nl> wrote:

> On Sat, 2009-06-27 at 15:31 +1000, Paul Mackerras wrote:
> > +       if (regs) {
> > +               if (current_is_64bit())
> > +                       perf_callchain_user_64(regs, entry);
> > +               else
> > +                       perf_callchain_user_32(regs, entry);
> > +       }
> 
> Ingo do we need 32 on 64 stuff like that too?

hm, indeed.

	Ingo


More information about the Linuxppc-dev mailing list