Samba and Application Response Measurement (ARM 4.0)
James Peach
jorgar at gmail.com
Mon Mar 17 00:34:51 GMT 2008
On 16/03/2008, Volker Lendecke <Volker.Lendecke at sernet.de> wrote:
> On Sun, Mar 16, 2008 at 03:20:56PM +0100, Sven Kubiak wrote:
> > Well, i found the profile.c, profiles.c and status_profile.c. But i don't
> > know if these are the right files to begin with.
> >
> > As with the callers of (sys_)read, could you name the files to start with.
> > It's difficult to figure out how and where calls are made.
>
>
> The theory is that these calls are made upon entry and exit
> of an SMB request. It's not to made to monitor posix-level
> syscalls. To monitor those it would probably be best to
> create a VFS module that wraps all calls, similar to
> vfs_full_audit.
or like the xmetrics module in this branch (which does this per-client
and per-share):
svn://svn.samba.org/samba/branches/tmp/jpeach-xmetrics
although IIRC, the profile stuff exports metrics for system calls as
well as protocol operations
--
James Peach | jorgar at gmail.com
More information about the samba-technical
mailing list