Subject: Re: CVS commit: src/usr.sbin/lockstat
To: Andrew Doran <ad@netbsd.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: source-changes
Date: 09/07/2006 08:41:31
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