A performance-measurement tool beta

David Collier-Brown davec-b at rogers.com
Thu Dec 30 16:04:50 GMT 2004


  Absolutely, Gnu by default, BSD on request.

--dave

Jeremy Allison wrote:
> On Wed, Dec 29, 2004 at 12:40:47PM -0500, David Collier-Brown wrote:
> 
>> For people doing samba work on Solaris, I have a small tool
>>(a mere 14,011 lines) called libprof to get resource-usage 
>>profiles of libc calls.
>>
>> From this, we see a surprising 25% of the time in a null call to 
>>smbstatus is spent calling free, and a perfectly sane 14% calling fwrite.
>>This tends to make one wonder at the mismatch between (m|c)alloc and free
>>times.  Plus there's a lot of strlens in there...
>>
>> Anyone interested in trying a copy of libprof drop me a line.
>>In principle it will run on Linux, but I haven't tried it yet.
> 
> 
> Source code available ? If so, under what license ?
> 
> Jeremy.
> 


-- 
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb at spamcop.net           |                      -- Mark Twain


More information about the samba-technical mailing list