A performance-measurement tool beta

Jeremy Allison jra at samba.org
Wed Dec 29 19:31:51 GMT 2004


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.


More information about the samba-technical mailing list