summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-10-08 18:29:57 +0000
committerGerald Carter <jerry@samba.org>2002-10-08 18:29:57 +0000
commit876afb5d0f60a7c358b7b3023e59093ce192aa6b (patch)
tree1e1245ff78c1ceaf874c684780bd0e88de863fcb /source3/utils
parent5bf57880e7893005bd51a76860dd4752954370d0 (diff)
downloadsamba-876afb5d0f60a7c358b7b3023e59093ce192aa6b.tar.gz
samba-876afb5d0f60a7c358b7b3023e59093ce192aa6b.tar.bz2
samba-876afb5d0f60a7c358b7b3023e59093ce192aa6b.zip
merge from APP_HEAD
* s/driverlocation/comment * detect native mode domain and enumerate local groups Also * Added sendfile stats from SAMBA_2_2 (This used to be commit 764b58e2c0b3179cffe157c0ab58761b156b8423)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/status.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 7fd7c93615..c84f8c267a 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -173,6 +173,11 @@ static int profile_dump(void)
d_printf("write_count: %u\n", profile_p->syscall_write_count);
d_printf("write_time: %u\n", profile_p->syscall_write_time);
d_printf("write_bytes: %u\n", profile_p->syscall_write_bytes);
+#ifdef HAVE_SENDFILE
+ d_printf("sendfile_count: %u\n", profile_p->syscall_sendfile_count);
+ d_printf("sendfile_time: %u\n", profile_p->syscall_sendfile_time);
+ d_printf("sendfile_bytes: %u\n", profile_p->syscall_sendfile_bytes);
+#endif
d_printf("lseek_count: %u\n", profile_p->syscall_lseek_count);
d_printf("lseek_time: %u\n", profile_p->syscall_lseek_time);
d_printf("rename_count: %u\n", profile_p->syscall_rename_count);