diff options
author | todd stecher <todd.stecher@gmail.com> | 2009-02-08 23:10:34 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-02-09 13:23:44 -0800 |
commit | 54c51a66e3e31c70a641d7efac2d4b08c3007278 (patch) | |
tree | 01ea8154819950eec666579dfeaad7724cf3fdb1 /source3/include/smb.h | |
parent | 98a4327b19e83ffad4e0be7e8895fdbd9e48d49f (diff) | |
download | samba-54c51a66e3e31c70a641d7efac2d4b08c3007278.tar.gz samba-54c51a66e3e31c70a641d7efac2d4b08c3007278.tar.bz2 samba-54c51a66e3e31c70a641d7efac2d4b08c3007278.zip |
S3: New module interface for SMB message statistics gathering
This changelist allows for the addition of custom performance
monitoring modules through smb.conf. Entrypoints in the main message
processing code have been added to capture the command, subop, ioctl,
identity and message size statistics.
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index eaf09dd09c..3da63cfc2b 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -613,6 +613,7 @@ struct current_user { NT_USER_TOKEN *nt_user_token; }; + struct smb_request { uint8_t cmd; uint16 flags2; @@ -640,6 +641,7 @@ struct smb_request { size_t unread_bytes; bool encrypted; connection_struct *conn; + struct smb_perfcount_data pcd; /* * Chained request handling @@ -717,6 +719,7 @@ struct pending_message_list { struct pending_message_list *next, *prev; struct timeval request_time; /* When was this first issued? */ struct timed_event *te; + struct smb_perfcount_data pcd; bool encrypted; DATA_BLOB buf; DATA_BLOB private_data; |