Changeset 745 for trunk/server/source3/utils/status_profile.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/utils/status_profile.c
r414 r745 20 20 21 21 #include "includes.h" 22 #include "smbprofile.h" 22 23 23 24 bool status_profile_dump(bool be_verbose); … … 58 59 d_printf("opendir_count: %u\n", profile_p->syscall_opendir_count); 59 60 d_printf("opendir_time: %u\n", profile_p->syscall_opendir_time); 61 d_printf("fdopendir_count: %u\n", profile_p->syscall_fdopendir_count); 62 d_printf("fdopendir_time: %u\n", profile_p->syscall_fdopendir_time); 60 63 d_printf("readdir_count: %u\n", profile_p->syscall_readdir_count); 61 64 d_printf("readdir_time: %u\n", profile_p->syscall_readdir_time); … … 82 85 d_printf("pwrite_time: %u\n", profile_p->syscall_pwrite_time); 83 86 d_printf("pwrite_bytes: %u\n", profile_p->syscall_pwrite_bytes); 84 #ifdef WITH_SENDFILE85 87 d_printf("sendfile_count: %u\n", profile_p->syscall_sendfile_count); 86 88 d_printf("sendfile_time: %u\n", profile_p->syscall_sendfile_time); 87 89 d_printf("sendfile_bytes: %u\n", profile_p->syscall_sendfile_bytes); 88 #endif89 90 d_printf("lseek_count: %u\n", profile_p->syscall_lseek_count); 90 91 d_printf("lseek_time: %u\n", profile_p->syscall_lseek_time); … … 401 402 d_printf("election_count: %u\n", profile_p->election_count); 402 403 d_printf("election_time: %u\n", profile_p->election_time); 404 profile_separator("SMB2 Calls"); 405 d_printf("smb2_negprot_count: %u\n", profile_p->smb2_negprot_count); 406 d_printf("smb2_negprot_time: %u\n", profile_p->smb2_negprot_time); 407 d_printf("smb2_sesssetup_count: %u\n", profile_p->smb2_sesssetup_count); 408 d_printf("smb2_sesssetup_time: %u\n", profile_p->smb2_sesssetup_time); 409 d_printf("smb2_logoff_count: %u\n", profile_p->smb2_logoff_count); 410 d_printf("smb2_logoff_time: %u\n", profile_p->smb2_logoff_time); 411 d_printf("smb2_tcon_count: %u\n", profile_p->smb2_tcon_count); 412 d_printf("smb2_tcon_time: %u\n", profile_p->smb2_tcon_time); 413 d_printf("smb2_tdis_count: %u\n", profile_p->smb2_tdis_count); 414 d_printf("smb2_tdis_time: %u\n", profile_p->smb2_tdis_time); 415 d_printf("smb2_create_count: %u\n", profile_p->smb2_create_count); 416 d_printf("smb2_create_time: %u\n", profile_p->smb2_create_time); 417 d_printf("smb2_close_count: %u\n", profile_p->smb2_close_count); 418 d_printf("smb2_close_time: %u\n", profile_p->smb2_close_time); 419 d_printf("smb2_flush_count: %u\n", profile_p->smb2_flush_count); 420 d_printf("smb2_flush_time: %u\n", profile_p->smb2_flush_time); 421 d_printf("smb2_read_count: %u\n", profile_p->smb2_read_count); 422 d_printf("smb2_read_time: %u\n", profile_p->smb2_read_time); 423 d_printf("smb2_write_count: %u\n", profile_p->smb2_write_count); 424 d_printf("smb2_write_time: %u\n", profile_p->smb2_write_time); 425 d_printf("smb2_lock_count: %u\n", profile_p->smb2_lock_count); 426 d_printf("smb2_lock_time: %u\n", profile_p->smb2_lock_time); 427 d_printf("smb2_ioctl_count: %u\n", profile_p->smb2_ioctl_count); 428 d_printf("smb2_ioctl_time: %u\n", profile_p->smb2_ioctl_time); 429 d_printf("smb2_cancel_count: %u\n", profile_p->smb2_cancel_count); 430 d_printf("smb2_cancel_time: %u\n", profile_p->smb2_cancel_time); 431 d_printf("smb2_keepalive_count: %u\n", profile_p->smb2_keepalive_count); 432 d_printf("smb2_keepalive_time: %u\n", profile_p->smb2_keepalive_time); 433 d_printf("smb2_find_count: %u\n", profile_p->smb2_find_count); 434 d_printf("smb2_find_time: %u\n", profile_p->smb2_find_time); 435 d_printf("smb2_notify_count: %u\n", profile_p->smb2_notify_count); 436 d_printf("smb2_notify_time: %u\n", profile_p->smb2_notify_time); 437 d_printf("smb2_getinfo_count: %u\n", profile_p->smb2_getinfo_count); 438 d_printf("smb2_getinfo_time: %u\n", profile_p->smb2_getinfo_time); 439 d_printf("smb2_setinfo_count: %u\n", profile_p->smb2_setinfo_count); 440 d_printf("smb2_setinfo_time: %u\n", profile_p->smb2_setinfo_time); 441 d_printf("smb2_break_count: %u\n", profile_p->smb2_break_count); 442 d_printf("smb2_break_time: %u\n", profile_p->smb2_break_time); 443 403 444 #else /* WITH_PROFILE */ 445 404 446 fprintf(stderr, "Profile data unavailable\n"); 405 447 #endif /* WITH_PROFILE */
Note:
See TracChangeset
for help on using the changeset viewer.