diff options
author | Jeremy Allison <jra@samba.org> | 2004-01-06 01:21:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-01-06 01:21:59 +0000 |
commit | 827c68deb89b5bd14324c57db14274b36a0790d7 (patch) | |
tree | 018ea2e604f64a73899744fced6a41086c90e512 /source3/utils | |
parent | 35f843a1be9a703328eee3241bc24416cca945e0 (diff) | |
download | samba-827c68deb89b5bd14324c57db14274b36a0790d7.tar.gz samba-827c68deb89b5bd14324c57db14274b36a0790d7.tar.bz2 samba-827c68deb89b5bd14324c57db14274b36a0790d7.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.
(This used to be commit 3a24dc868d95c9bcc2ac3a0dbd50e6e226ac0841)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/status.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c index 54dce1ecf0..4585b101b2 100644 --- a/source3/utils/status.c +++ b/source3/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); |