diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/profile.h | 52 | ||||
-rw-r--r-- | source3/utils/status.c | 334 |
2 files changed, 383 insertions, 3 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 { diff --git a/source3/utils/status.c b/source3/utils/status.c index c41551b7ec..1137898e34 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -164,8 +164,338 @@ static int profile_dump(void) return -1; } - printf("smb_count:\t%u\n", profile_p->smb_count); - printf("uid_changes:\t%u\n", profile_p->uid_changes); + printf("smb_count: %u\n", profile_p->smb_count); + printf("uid_changes: %u\n", profile_p->uid_changes); + printf("************************ System Calls ****************************\n"); + printf("opendir_count: %u\n", profile_p->syscall_opendir_count); + printf("opendir_time: %u\n", profile_p->syscall_opendir_time); + printf("readdir_count: %u\n", profile_p->syscall_readdir_count); + printf("readdir_time: %u\n", profile_p->syscall_readdir_time); + printf("mkdir_count: %u\n", profile_p->syscall_mkdir_count); + printf("mkdir_time: %u\n", profile_p->syscall_mkdir_time); + printf("rmdir_count: %u\n", profile_p->syscall_rmdir_count); + printf("rmdir_time: %u\n", profile_p->syscall_rmdir_time); + printf("closedir_count: %u\n", profile_p->syscall_closedir_count); + printf("closedir_time: %u\n", profile_p->syscall_closedir_time); + printf("open_count: %u\n", profile_p->syscall_open_count); + printf("open_time: %u\n", profile_p->syscall_open_time); + printf("close_count: %u\n", profile_p->syscall_close_count); + printf("close_time: %u\n", profile_p->syscall_close_time); + printf("read_count: %u\n", profile_p->syscall_read_count); + printf("read_time: %u\n", profile_p->syscall_read_time); + printf("read_bytes: %u\n", profile_p->syscall_read_bytes); + printf("write_count: %u\n", profile_p->syscall_write_count); + printf("write_time: %u\n", profile_p->syscall_write_time); + printf("write_bytes: %u\n", profile_p->syscall_write_bytes); + printf("lseek_count: %u\n", profile_p->syscall_lseek_count); + printf("lseek_time: %u\n", profile_p->syscall_lseek_time); + printf("rename_count: %u\n", profile_p->syscall_rename_count); + printf("rename_time: %u\n", profile_p->syscall_rename_time); + printf("fsync_count: %u\n", profile_p->syscall_fsync_count); + printf("fsync_time: %u\n", profile_p->syscall_fsync_time); + printf("stat_count: %u\n", profile_p->syscall_stat_count); + printf("stat_time: %u\n", profile_p->syscall_stat_time); + printf("fstat_count: %u\n", profile_p->syscall_fstat_count); + printf("fstat_time: %u\n", profile_p->syscall_fstat_time); + printf("lstat_count: %u\n", profile_p->syscall_lstat_count); + printf("lstat_time: %u\n", profile_p->syscall_lstat_time); + printf("unlink_count: %u\n", profile_p->syscall_unlink_count); + printf("unlink_time: %u\n", profile_p->syscall_unlink_time); + printf("chmod_count: %u\n", profile_p->syscall_chmod_count); + printf("chmod_time: %u\n", profile_p->syscall_chmod_time); + printf("fchmod_count: %u\n", profile_p->syscall_fchmod_count); + printf("fchmod_time: %u\n", profile_p->syscall_fchmod_time); + printf("chown_count: %u\n", profile_p->syscall_chown_count); + printf("chown_time: %u\n", profile_p->syscall_chown_time); + printf("fchown_count: %u\n", profile_p->syscall_fchown_count); + printf("fchown_time: %u\n", profile_p->syscall_fchown_time); + printf("chdir_count: %u\n", profile_p->syscall_chdir_count); + printf("chdir_time: %u\n", profile_p->syscall_chdir_time); + printf("getwd_count: %u\n", profile_p->syscall_getwd_count); + printf("getwd_time: %u\n", profile_p->syscall_getwd_time); + printf("utime_count: %u\n", profile_p->syscall_utime_count); + printf("utime_time: %u\n", profile_p->syscall_utime_time); + printf("ftruncate_count: %u\n", profile_p->syscall_ftruncate_count); + printf("ftruncate_time: %u\n", profile_p->syscall_ftruncate_time); + printf("fcntl_lock_count: %u\n", profile_p->syscall_fcntl_lock_count); + printf("fcntl_lock_time: %u\n", profile_p->syscall_fcntl_lock_time); + printf("readlink_count: %u\n", profile_p->syscall_readlink_count); + printf("readlink_time: %u\n", profile_p->syscall_readlink_time); + printf("symlink_count: %u\n", profile_p->syscall_symlink_count); + printf("symlink_time: %u\n", profile_p->syscall_symlink_time); + printf("************************ Statcache *******************************\n"); + printf("lookups: %u\n", profile_p->statcache_lookups); + printf("misses: %u\n", profile_p->statcache_misses); + printf("hits: %u\n", profile_p->statcache_hits); + printf("************************ Writecache ******************************\n"); + printf("read_hits: %u\n", profile_p->writecache_read_hits); + printf("abutted_writes: %u\n", profile_p->writecache_abutted_writes); + printf("total_writes: %u\n", profile_p->writecache_total_writes); + printf("non_oplock_writes: %u\n", profile_p->writecache_non_oplock_writes); + printf("direct_writes: %u\n", profile_p->writecache_direct_writes); + printf("init_writes: %u\n", profile_p->writecache_init_writes); + printf("flushed_writes[SEEK]: %u\n", profile_p->writecache_flushed_writes[SEEK_FLUSH]); + printf("flushed_writes[READ]: %u\n", profile_p->writecache_flushed_writes[READ_FLUSH]); + printf("flushed_writes[WRITE]: %u\n", profile_p->writecache_flushed_writes[WRITE_FLUSH]); + printf("flushed_writes[READRAW]: %u\n", profile_p->writecache_flushed_writes[READRAW_FLUSH]); + printf("flushed_writes[OPLOCK_RELEASE]: %u\n", profile_p->writecache_flushed_writes[OPLOCK_RELEASE_FLUSH]); + printf("flushed_writes[CLOSE]: %u\n", profile_p->writecache_flushed_writes[CLOSE_FLUSH]); + printf("flushed_writes[SYNC]: %u\n", profile_p->writecache_flushed_writes[SYNC_FLUSH]); + printf("flushed_writes[SIZECHANGE]: %u\n", profile_p->writecache_flushed_writes[SIZECHANGE_FLUSH]); + printf("num_perfect_writes: %u\n", profile_p->writecache_num_perfect_writes); + printf("num_write_caches: %u\n", profile_p->writecache_num_write_caches); + printf("allocated_write_caches: %u\n", profile_p->writecache_allocated_write_caches); + printf("************************ SMB Calls *******************************\n"); + printf("mkdir_count: %u\n", profile_p->SMBmkdir_count); + printf("mkdir_time: %u\n", profile_p->SMBmkdir_time); + printf("rmdir_count: %u\n", profile_p->SMBrmdir_count); + printf("rmdir_time: %u\n", profile_p->SMBrmdir_time); + printf("open_count: %u\n", profile_p->SMBopen_count); + printf("open_time: %u\n", profile_p->SMBopen_time); + printf("create_count: %u\n", profile_p->SMBcreate_count); + printf("create_time: %u\n", profile_p->SMBcreate_time); + printf("close_count: %u\n", profile_p->SMBclose_count); + printf("close_time: %u\n", profile_p->SMBclose_time); + printf("flush_count: %u\n", profile_p->SMBflush_count); + printf("flush_time: %u\n", profile_p->SMBflush_time); + printf("unlink_count: %u\n", profile_p->SMBunlink_count); + printf("unlink_time: %u\n", profile_p->SMBunlink_time); + printf("mv_count: %u\n", profile_p->SMBmv_count); + printf("mv_time: %u\n", profile_p->SMBmv_time); + printf("getatr_count: %u\n", profile_p->SMBgetatr_count); + printf("getatr_time: %u\n", profile_p->SMBgetatr_time); + printf("setatr_count: %u\n", profile_p->SMBsetatr_count); + printf("setatr_time: %u\n", profile_p->SMBsetatr_time); + printf("read_count: %u\n", profile_p->SMBread_count); + printf("read_time: %u\n", profile_p->SMBread_time); + printf("write_count: %u\n", profile_p->SMBwrite_count); + printf("write_time: %u\n", profile_p->SMBwrite_time); + printf("lock_count: %u\n", profile_p->SMBlock_count); + printf("lock_time: %u\n", profile_p->SMBlock_time); + printf("unlock_count: %u\n", profile_p->SMBunlock_count); + printf("unlock_time: %u\n", profile_p->SMBunlock_time); + printf("ctemp_count: %u\n", profile_p->SMBctemp_count); + printf("ctemp_time: %u\n", profile_p->SMBctemp_time); + printf("mknew_count: %u\n", profile_p->SMBmknew_count); + printf("mknew_time: %u\n", profile_p->SMBmknew_time); + printf("chkpth_count: %u\n", profile_p->SMBchkpth_count); + printf("chkpth_time: %u\n", profile_p->SMBchkpth_time); + printf("exit_count: %u\n", profile_p->SMBexit_count); + printf("exit_time: %u\n", profile_p->SMBexit_time); + printf("lseek_count: %u\n", profile_p->SMBlseek_count); + printf("lseek_time: %u\n", profile_p->SMBlseek_time); + printf("lockread_count: %u\n", profile_p->SMBlockread_count); + printf("lockread_time: %u\n", profile_p->SMBlockread_time); + printf("writeunlock_count: %u\n", profile_p->SMBwriteunlock_count); + printf("writeunlock_time: %u\n", profile_p->SMBwriteunlock_time); + printf("readbraw_count: %u\n", profile_p->SMBreadbraw_count); + printf("readbraw_time: %u\n", profile_p->SMBreadbraw_time); + printf("readBmpx_count: %u\n", profile_p->SMBreadBmpx_count); + printf("readBmpx_time: %u\n", profile_p->SMBreadBmpx_time); + printf("readBs_count: %u\n", profile_p->SMBreadBs_count); + printf("readBs_time: %u\n", profile_p->SMBreadBs_time); + printf("writebraw_count: %u\n", profile_p->SMBwritebraw_count); + printf("writebraw_time: %u\n", profile_p->SMBwritebraw_time); + printf("writeBmpx_count: %u\n", profile_p->SMBwriteBmpx_count); + printf("writeBmpx_time: %u\n", profile_p->SMBwriteBmpx_time); + printf("writeBs_count: %u\n", profile_p->SMBwriteBs_count); + printf("writeBs_time: %u\n", profile_p->SMBwriteBs_time); + printf("writec_count: %u\n", profile_p->SMBwritec_count); + printf("writec_time: %u\n", profile_p->SMBwritec_time); + printf("setattrE_count: %u\n", profile_p->SMBsetattrE_count); + printf("setattrE_time: %u\n", profile_p->SMBsetattrE_time); + printf("getattrE_count: %u\n", profile_p->SMBgetattrE_count); + printf("getattrE_time: %u\n", profile_p->SMBgetattrE_time); + printf("lockingX_count: %u\n", profile_p->SMBlockingX_count); + printf("lockingX_time: %u\n", profile_p->SMBlockingX_time); + printf("trans_count: %u\n", profile_p->SMBtrans_count); + printf("trans_time: %u\n", profile_p->SMBtrans_time); + printf("transs_count: %u\n", profile_p->SMBtranss_count); + printf("transs_time: %u\n", profile_p->SMBtranss_time); + printf("ioctl_count: %u\n", profile_p->SMBioctl_count); + printf("ioctl_time: %u\n", profile_p->SMBioctl_time); + printf("ioctls_count: %u\n", profile_p->SMBioctls_count); + printf("ioctls_time: %u\n", profile_p->SMBioctls_time); + printf("copy_count: %u\n", profile_p->SMBcopy_count); + printf("copy_time: %u\n", profile_p->SMBcopy_time); + printf("move_count: %u\n", profile_p->SMBmove_count); + printf("move_time: %u\n", profile_p->SMBmove_time); + printf("echo_count: %u\n", profile_p->SMBecho_count); + printf("echo_time: %u\n", profile_p->SMBecho_time); + printf("writeclose_count: %u\n", profile_p->SMBwriteclose_count); + printf("writeclose_time: %u\n", profile_p->SMBwriteclose_time); + printf("openX_count: %u\n", profile_p->SMBopenX_count); + printf("openX_time: %u\n", profile_p->SMBopenX_time); + printf("readX_count: %u\n", profile_p->SMBreadX_count); + printf("readX_time: %u\n", profile_p->SMBreadX_time); + printf("writeX_count: %u\n", profile_p->SMBwriteX_count); + printf("writeX_time: %u\n", profile_p->SMBwriteX_time); + printf("trans2_count: %u\n", profile_p->SMBtrans2_count); + printf("trans2_time: %u\n", profile_p->SMBtrans2_time); + printf("transs2_count: %u\n", profile_p->SMBtranss2_count); + printf("transs2_time: %u\n", profile_p->SMBtranss2_time); + printf("findclose_count: %u\n", profile_p->SMBfindclose_count); + printf("findclose_time: %u\n", profile_p->SMBfindclose_time); + printf("findnclose_count: %u\n", profile_p->SMBfindnclose_count); + printf("findnclose_time: %u\n", profile_p->SMBfindnclose_time); + printf("tcon_count: %u\n", profile_p->SMBtcon_count); + printf("tcon_time: %u\n", profile_p->SMBtcon_time); + printf("tdis_count: %u\n", profile_p->SMBtdis_count); + printf("tdis_time: %u\n", profile_p->SMBtdis_time); + printf("negprot_count: %u\n", profile_p->SMBnegprot_count); + printf("negprot_time: %u\n", profile_p->SMBnegprot_time); + printf("sesssetupX_count: %u\n", profile_p->SMBsesssetupX_count); + printf("sesssetupX_time: %u\n", profile_p->SMBsesssetupX_time); + printf("ulogoffX_count: %u\n", profile_p->SMBulogoffX_count); + printf("ulogoffX_time: %u\n", profile_p->SMBulogoffX_time); + printf("tconX_count: %u\n", profile_p->SMBtconX_count); + printf("tconX_time: %u\n", profile_p->SMBtconX_time); + printf("dskattr_count: %u\n", profile_p->SMBdskattr_count); + printf("dskattr_time: %u\n", profile_p->SMBdskattr_time); + printf("search_count: %u\n", profile_p->SMBsearch_count); + printf("search_time: %u\n", profile_p->SMBsearch_time); + printf("ffirst_count: %u\n", profile_p->SMBffirst_count); + printf("ffirst_time: %u\n", profile_p->SMBffirst_time); + printf("funique_count: %u\n", profile_p->SMBfunique_count); + printf("funique_time: %u\n", profile_p->SMBfunique_time); + printf("fclose_count: %u\n", profile_p->SMBfclose_count); + printf("fclose_time: %u\n", profile_p->SMBfclose_time); + printf("nttrans_count: %u\n", profile_p->SMBnttrans_count); + printf("nttrans_time: %u\n", profile_p->SMBnttrans_time); + printf("nttranss_count: %u\n", profile_p->SMBnttranss_count); + printf("nttranss_time: %u\n", profile_p->SMBnttranss_time); + printf("ntcreateX_count: %u\n", profile_p->SMBntcreateX_count); + printf("ntcreateX_time: %u\n", profile_p->SMBntcreateX_time); + printf("ntcancel_count: %u\n", profile_p->SMBntcancel_count); + printf("ntcancel_time: %u\n", profile_p->SMBntcancel_time); + printf("splopen_count: %u\n", profile_p->SMBsplopen_count); + printf("splopen_time: %u\n", profile_p->SMBsplopen_time); + printf("splwr_count: %u\n", profile_p->SMBsplwr_count); + printf("splwr_time: %u\n", profile_p->SMBsplwr_time); + printf("splclose_count: %u\n", profile_p->SMBsplclose_count); + printf("splclose_time: %u\n", profile_p->SMBsplclose_time); + printf("splretq_count: %u\n", profile_p->SMBsplretq_count); + printf("splretq_time: %u\n", profile_p->SMBsplretq_time); + printf("sends_count: %u\n", profile_p->SMBsends_count); + printf("sends_time: %u\n", profile_p->SMBsends_time); + printf("sendb_count: %u\n", profile_p->SMBsendb_count); + printf("sendb_time: %u\n", profile_p->SMBsendb_time); + printf("fwdname_count: %u\n", profile_p->SMBfwdname_count); + printf("fwdname_time: %u\n", profile_p->SMBfwdname_time); + printf("cancelf_count: %u\n", profile_p->SMBcancelf_count); + printf("cancelf_time: %u\n", profile_p->SMBcancelf_time); + printf("getmac_count: %u\n", profile_p->SMBgetmac_count); + printf("getmac_time: %u\n", profile_p->SMBgetmac_time); + printf("sendstrt_count: %u\n", profile_p->SMBsendstrt_count); + printf("sendstrt_time: %u\n", profile_p->SMBsendstrt_time); + printf("sendend_count: %u\n", profile_p->SMBsendend_count); + printf("sendend_time: %u\n", profile_p->SMBsendend_time); + printf("sendtxt_count: %u\n", profile_p->SMBsendtxt_count); + printf("sendtxt_time: %u\n", profile_p->SMBsendtxt_time); + printf("invalid_count: %u\n", profile_p->SMBinvalid_count); + printf("invalid_time: %u\n", profile_p->SMBinvalid_time); + printf("************************ Pathworks Calls *************************\n"); + printf("setdir_count: %u\n", profile_p->pathworks_setdir_count); + printf("setdir_time: %u\n", profile_p->pathworks_setdir_time); + printf("************************ Trans2 Calls ****************************\n"); + printf("open_count: %u\n", profile_p->Trans2_open_count); + printf("open_time: %u\n", profile_p->Trans2_open_time); + printf("findfirst_count: %u\n", profile_p->Trans2_findfirst_count); + printf("findfirst_time: %u\n", profile_p->Trans2_findfirst_time); + printf("findnext_count: %u\n", profile_p->Trans2_findnext_count); + printf("findnext_time: %u\n", profile_p->Trans2_findnext_time); + printf("qfsinfo_count: %u\n", profile_p->Trans2_qfsinfo_count); + printf("qfsinfo_time: %u\n", profile_p->Trans2_qfsinfo_time); + printf("setfsinfo_count: %u\n", profile_p->Trans2_setfsinfo_count); + printf("setfsinfo_time: %u\n", profile_p->Trans2_setfsinfo_time); + printf("qpathinfo_count: %u\n", profile_p->Trans2_qpathinfo_count); + printf("qpathinfo_time: %u\n", profile_p->Trans2_qpathinfo_time); + printf("setpathinfo_count: %u\n", profile_p->Trans2_setpathinfo_count); + printf("setpathinfo_time: %u\n", profile_p->Trans2_setpathinfo_time); + printf("qfileinfo_count: %u\n", profile_p->Trans2_qfileinfo_count); + printf("qfileinfo_time: %u\n", profile_p->Trans2_qfileinfo_time); + printf("setfileinfo_count: %u\n", profile_p->Trans2_setfileinfo_count); + printf("setfileinfo_time: %u\n", profile_p->Trans2_setfileinfo_time); + printf("fsctl_count: %u\n", profile_p->Trans2_fsctl_count); + printf("fsctl_time: %u\n", profile_p->Trans2_fsctl_time); + printf("ioctl_count: %u\n", profile_p->Trans2_ioctl_count); + printf("ioctl_time: %u\n", profile_p->Trans2_ioctl_time); + printf("findnotifyfirst_count: %u\n", profile_p->Trans2_findnotifyfirst_count); + printf("findnotifyfirst_time: %u\n", profile_p->Trans2_findnotifyfirst_time); + printf("findnotifynext_count: %u\n", profile_p->Trans2_findnotifynext_count); + printf("findnotifynext_time: %u\n", profile_p->Trans2_findnotifynext_time); + printf("mkdir_count: %u\n", profile_p->Trans2_mkdir_count); + printf("mkdir_time: %u\n", profile_p->Trans2_mkdir_time); + printf("session_setup_count: %u\n", profile_p->Trans2_session_setup_count); + printf("session_setup_time: %u\n", profile_p->Trans2_session_setup_time); + printf("get_dfs_referral_count: %u\n", profile_p->Trans2_get_dfs_referral_count); + printf("get_dfs_referral_time: %u\n", profile_p->Trans2_get_dfs_referral_time); + printf("report_dfs_inconsistancy_count: %u\n", profile_p->Trans2_report_dfs_inconsistancy_count); + printf("report_dfs_inconsistancy_time: %u\n", profile_p->Trans2_report_dfs_inconsistancy_time); + printf("************************ NT Transact Calls ***********************\n"); + printf("create_count: %u\n", profile_p->NT_transact_create_count); + printf("create_time: %u\n", profile_p->NT_transact_create_time); + printf("ioctl_count: %u\n", profile_p->NT_transact_ioctl_count); + printf("ioctl_time: %u\n", profile_p->NT_transact_ioctl_time); + printf("set_security_desc_count: %u\n", profile_p->NT_transact_set_security_desc_count); + printf("set_security_desc_time: %u\n", profile_p->NT_transact_set_security_desc_time); + printf("notify_change_count: %u\n", profile_p->NT_transact_notify_change_count); + printf("notify_change_time: %u\n", profile_p->NT_transact_notify_change_time); + printf("rename_count: %u\n", profile_p->NT_transact_rename_count); + printf("rename_time: %u\n", profile_p->NT_transact_rename_time); + printf("query_security_desc_count: %u\n", profile_p->NT_transact_query_security_desc_count); + printf("query_security_desc_time: %u\n", profile_p->NT_transact_query_security_desc_time); + printf("************************ ACL Calls *******************************\n"); + printf("get_nt_acl_count: %u\n", profile_p->get_nt_acl_count); + printf("get_nt_acl_time: %u\n", profile_p->get_nt_acl_time); + printf("fget_nt_acl_count: %u\n", profile_p->fget_nt_acl_count); + printf("fget_nt_acl_time: %u\n", profile_p->fget_nt_acl_time); + printf("set_nt_acl_count: %u\n", profile_p->set_nt_acl_count); + printf("set_nt_acl_time: %u\n", profile_p->set_nt_acl_time); + printf("fset_nt_acl_count: %u\n", profile_p->fset_nt_acl_count); + printf("fset_nt_acl_time: %u\n", profile_p->fset_nt_acl_time); + printf("chmod_acl_count: %u\n", profile_p->chmod_acl_count); + printf("chmod_acl_time: %u\n", profile_p->chmod_acl_time); + printf("fchmod_acl_count: %u\n", profile_p->fchmod_acl_count); + printf("fchmod_acl_time: %u\n", profile_p->fchmod_acl_time); + printf("************************ NMBD Calls ****************************\n"); + printf("name_release_count: %u\n", profile_p->name_release_count); + printf("name_release_time: %u\n", profile_p->name_release_time); + printf("name_refresh_count: %u\n", profile_p->name_refresh_count); + printf("name_refresh_time: %u\n", profile_p->name_refresh_time); + printf("name_registration_count: %u\n", profile_p->name_registration_count); + printf("name_registration_time: %u\n", profile_p->name_registration_time); + printf("node_status_count: %u\n", profile_p->node_status_count); + printf("node_status_time: %u\n", profile_p->node_status_time); + printf("name_query_count: %u\n", profile_p->name_query_count); + printf("name_query_time: %u\n", profile_p->name_query_time); + printf("host_announce_count: %u\n", profile_p->host_announce_count); + printf("host_announce_time: %u\n", profile_p->host_announce_time); + printf("workgroup_announce_count: %u\n", profile_p->workgroup_announce_count); + printf("workgroup_announce_time: %u\n", profile_p->workgroup_announce_time); + printf("local_master_announce_count: %u\n", profile_p->local_master_announce_count); + printf("local_master_announce_time: %u\n", profile_p->local_master_announce_time); + printf("master_browser_announce_count: %u\n", profile_p->master_browser_announce_count); + printf("master_browser_announce_time: %u\n", profile_p->master_browser_announce_time); + printf("lm_host_announce_count: %u\n", profile_p->lm_host_announce_count); + printf("lm_host_announce_time: %u\n", profile_p->lm_host_announce_time); + printf("get_backup_list_count: %u\n", profile_p->get_backup_list_count); + printf("get_backup_list_time: %u\n", profile_p->get_backup_list_time); + printf("reset_browser_count: %u\n", profile_p->reset_browser_count); + printf("reset_browser_time: %u\n", profile_p->reset_browser_time); + printf("announce_request_count: %u\n", profile_p->announce_request_count); + printf("announce_request_time: %u\n", profile_p->announce_request_time); + printf("lm_announce_request_count: %u\n", profile_p->lm_announce_request_count); + printf("lm_announce_request_time: %u\n", profile_p->lm_announce_request_time); + printf("domain_logon_count: %u\n", profile_p->domain_logon_count); + printf("domain_logon_time: %u\n", profile_p->domain_logon_time); + printf("sync_browse_lists_count: %u\n", profile_p->sync_browse_lists_count); + printf("sync_browse_lists_time: %u\n", profile_p->sync_browse_lists_time); + printf("run_elections_count: %u\n", profile_p->run_elections_count); + printf("run_elections_time: %u\n", profile_p->run_elections_time); + printf("election_count: %u\n", profile_p->election_count); + printf("election_time: %u\n", profile_p->election_time); + return 0; #endif } |