diff options
author | Herb Lewis <herb@samba.org> | 2001-09-05 17:58:24 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2001-09-05 17:58:24 +0000 |
commit | 283b15bcd727186848ffa4dff3aa864221f4d97e (patch) | |
tree | ee02a6b67db33e05a7ede8257bcd8850ac8438e2 /source3/include | |
parent | c36dd96b907048a8aebd0b72f180a42aebda2ca1 (diff) | |
download | samba-283b15bcd727186848ffa4dff3aa864221f4d97e.tar.gz samba-283b15bcd727186848ffa4dff3aa864221f4d97e.tar.bz2 samba-283b15bcd727186848ffa4dff3aa864221f4d97e.zip |
add profiling stats from 2.2
(This used to be commit 6c333e9d922b3a7443db829277b8a209cce2d350)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/profile.h | 52 |
1 files changed, 51 insertions, 1 deletions
diff --git a/source3/include/profile.h b/source3/include/profile.h index a8ffb96367..fbd83d6e3e 100644 --- a/source3/include/profile.h +++ b/source3/include/profile.h @@ -35,7 +35,7 @@ enum flush_reason_enum { SEEK_FLUSH, READ_FLUSH, WRITE_FLUSH, READRAW_FLUSH, #define PROF_SHMEM_KEY ((key_t)0x07021999) #define PROF_SHM_MAGIC 0x6349985 -#define PROF_SHM_VERSION 4 +#define PROF_SHM_VERSION 5 /* time values in the following structure are in microseconds */ @@ -318,6 +318,56 @@ struct profile_stats { unsigned NT_transact_rename_time; unsigned NT_transact_query_security_desc_count; unsigned NT_transact_query_security_desc_time; +/* These are ACL manipulation calls */ + unsigned get_nt_acl_count; + unsigned get_nt_acl_time; + unsigned fget_nt_acl_count; + unsigned fget_nt_acl_time; + unsigned set_nt_acl_count; + unsigned set_nt_acl_time; + unsigned fset_nt_acl_count; + unsigned fset_nt_acl_time; + unsigned chmod_acl_count; + unsigned chmod_acl_time; + unsigned fchmod_acl_count; + unsigned fchmod_acl_time; +/* These are nmbd stats */ + unsigned name_release_count; + unsigned name_release_time; + unsigned name_refresh_count; + unsigned name_refresh_time; + unsigned name_registration_count; + unsigned name_registration_time; + unsigned node_status_count; + unsigned node_status_time; + unsigned name_query_count; + unsigned name_query_time; + unsigned host_announce_count; + unsigned host_announce_time; + unsigned workgroup_announce_count; + unsigned workgroup_announce_time; + unsigned local_master_announce_count; + unsigned local_master_announce_time; + unsigned master_browser_announce_count; + unsigned master_browser_announce_time; + unsigned lm_host_announce_count; + unsigned lm_host_announce_time; + unsigned get_backup_list_count; + unsigned get_backup_list_time; + unsigned reset_browser_count; + unsigned reset_browser_time; + unsigned announce_request_count; + unsigned announce_request_time; + unsigned lm_announce_request_count; + unsigned lm_announce_request_time; + unsigned domain_logon_count; + unsigned domain_logon_time; + unsigned sync_browse_lists_count; + unsigned sync_browse_lists_time; + unsigned run_elections_count; + unsigned run_elections_time; + unsigned election_count; + unsigned election_time; }; struct profile_header { |