diff options
author | Jeremy Allison <jra@samba.org> | 2004-11-09 22:49:28 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-11-09 22:49:28 +0000 |
commit | a8760778788330c6207485d1aa4e498d48d32778 (patch) | |
tree | df70a0666f54a88c73d279c09ed251d0e1bf48b9 /source/include/smbprofile.h | |
parent | 0bdef604b54f6655199d6a396835d93bbb175dda (diff) | |
download | samba-a8760778788330c6207485d1aa4e498d48d32778.tar.gz samba-a8760778788330c6207485d1aa4e498d48d32778.tar.xz samba-a8760778788330c6207485d1aa4e498d48d32778.zip |
r3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have to
fix the modules too... First step in fixing out large directories
problem.
Jeremy.
Diffstat (limited to 'source/include/smbprofile.h')
-rw-r--r-- | source/include/smbprofile.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/include/smbprofile.h b/source/include/smbprofile.h index e494faf7da6..ed6fce9a6d6 100644 --- a/source/include/smbprofile.h +++ b/source/include/smbprofile.h @@ -34,7 +34,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 9 +#define PROF_SHM_VERSION 10 /* time values in the following structure are in microseconds */ @@ -47,6 +47,12 @@ struct profile_stats { unsigned syscall_opendir_time; unsigned syscall_readdir_count; unsigned syscall_readdir_time; + unsigned syscall_seekdir_count; + unsigned syscall_seekdir_time; + unsigned syscall_telldir_count; + unsigned syscall_telldir_time; + unsigned syscall_rewinddir_count; + unsigned syscall_rewinddir_time; unsigned syscall_mkdir_count; unsigned syscall_mkdir_time; unsigned syscall_rmdir_count; |