Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/lockstat



Andrew Doran wrote:
> On Thu, Sep 07, 2006 at 08:00:33AM -0700, Garrett D'Amore wrote:
>
>   
>> Does this work like Sun's lockstat?  I.e. can you use it for general
>> profiling as well?  Solaris lockstat is incredibly useful...
>>     
>
> If you can intuit what the system is doing by looking at the lock events,
> yup. Right now all you can really tell is "it's in the kernel, fancy that",
> because we have one big lock :-). This is more basic: all I initially wanted
> to be able to do is profile contention events.
>
> Andrew
>   

Hmm..  right, the big lock.  With Solaris lockstat you can run it so
that it uses a lock associated with a high priority clock, so you can
get meaningful output.  :-)

    -- Garrett

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191




Home | Main Index | Thread Index | Old Index