Re: [PATCH -v4 4/9] tracing: add static function tracer supportfor MIPS
From: Wu Zhangjin
Date: Thu Oct 22 2009 - 14:34:44 EST
On Thu, 2009-10-22 at 13:59 -0400, Steven Rostedt wrote:
> On Fri, 2009-10-23 at 01:47 +0800, Wu Zhangjin wrote:
> > On Wed, 2009-10-21 at 11:24 -0400, Steven Rostedt wrote:
>
> > > Is t0 and t1 safe for mcount to use? Remember, mcount does not follow
> > > the dynamics of C function ABI.
> >
> > So, perhaps we can use the saved registers(a0,a1...) instead.
>
> I don't know. I was just asking.
I just used a0,a1,a2 instead of t0,t1,t2, we are safe to use them for
they have been saved/restored.
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/