Samba and Application Response Measurement (ARM 4.0)

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Mar 17 17:05:32 GMT 2008

On Mon, Mar 17, 2008 at 05:56:47PM +0100, Sven Kubiak wrote:
> Okay, focusing on the calls makes much more sense, than looking for all
> functions in the source code which are responsible for a specific samba
> service.
> To find the right calls we'd like to measure using a sniffer is the less
> difficult part. What is more difficult is the right place to start with.
> I guess i was wrong looking at source/profile/profile.c which seems to be
> responsible (among other things) for handling the user profile. I found the
> vfs_* modules in source/modules which i will look into asap, but i didn't
> found the "PROFILE stuff" Volker mentioned.

You might grep for all START_PROFILE and END_PROFILE macro
calls in smbd/*.c. For the definitions, see
include/smbprofile.h. With quite a bit of macro magic, they
expand into code that increments the profile_p struct in
profile/profile.c line 38.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list