diff options
author | Jeremy Allison <jra@samba.org> | 2004-01-06 01:22:14 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-01-06 01:22:14 +0000 |
commit | 019aaaf0df091c3f67048f591e70d4353a02bb9b (patch) | |
tree | 9b51eb27cc50ecf8ca02d5ee9876cb54d1954f0f /source/utils/status.c | |
parent | 93a5d8079a0291be14517e437f8f0c964c21e91d (diff) | |
download | samba-019aaaf0df091c3f67048f591e70d4353a02bb9b.tar.gz samba-019aaaf0df091c3f67048f591e70d4353a02bb9b.tar.xz samba-019aaaf0df091c3f67048f591e70d4353a02bb9b.zip |
Patch based on work from James Peach <jpeach@sgi.com> to convert over to
using pread/pwrite. Modified a little to ensure fsp->pos is correct.
Fix for #889.
Jeremy.
Diffstat (limited to 'source/utils/status.c')
-rw-r--r-- | source/utils/status.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/utils/status.c b/source/utils/status.c index 54dce1ecf0f..4585b101b28 100644 --- a/source/utils/status.c +++ b/source/utils/status.c @@ -197,6 +197,12 @@ 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); + d_printf("pread_count: %u\n", profile_p->syscall_pread_count); + d_printf("pread_time: %u\n", profile_p->syscall_pread_time); + d_printf("pread_bytes: %u\n", profile_p->syscall_pread_bytes); + d_printf("pwrite_count: %u\n", profile_p->syscall_pwrite_count); + d_printf("pwrite_time: %u\n", profile_p->syscall_pwrite_time); + d_printf("pwrite_bytes: %u\n", profile_p->syscall_pwrite_bytes); #ifdef WITH_SENDFILE d_printf("sendfile_count: %u\n", profile_p->syscall_sendfile_count); d_printf("sendfile_time: %u\n", profile_p->syscall_sendfile_time); |