lkml.org 
[lkml]   [2009]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH -v4 4/9] tracing: add static function tracer support for MIPS
    From
    Date
    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!



    \
     
     \ /
      Last update: 2009-10-22 20:37    [W:0.022 / U:0.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site