summaryrefslogtreecommitdiff
path: root/source3/include/smbprofile.h
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-01-26 15:39:40 -0800
committerTim Prouty <tprouty@samba.org>2009-01-29 15:29:33 -0800
commitb8f7cdbd79918bba0fea181f97fff5ab0c79192d (patch)
tree6716b36bb6421e0cff45dc224a1705bb396e8dd2 /source3/include/smbprofile.h
parentaeb23872e25fb720140a10ce01a4211d228b6555 (diff)
downloadsamba-b8f7cdbd79918bba0fea181f97fff5ab0c79192d.tar.gz
samba-b8f7cdbd79918bba0fea181f97fff5ab0c79192d.tar.bz2
samba-b8f7cdbd79918bba0fea181f97fff5ab0c79192d.zip
s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation
This allows module implementors to customize what allocation size is returned to the client.
Diffstat (limited to 'source3/include/smbprofile.h')
-rw-r--r--source3/include/smbprofile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/smbprofile.h b/source3/include/smbprofile.h
index 8945708ca3..131416b685 100644
--- a/source3/include/smbprofile.h
+++ b/source3/include/smbprofile.h
@@ -127,6 +127,10 @@ enum profile_stats_values
#define syscall_lstat_count __profile_stats_value(PR_VALUE_SYSCALL_LSTAT, count)
#define syscall_lstat_time __profile_stats_value(PR_VALUE_SYSCALL_LSTAT, time)
+ PR_VALUE_SYSCALL_GET_ALLOC_SIZE,
+#define syscall_get_alloc_size_count __profile_stats_value(PR_VALUE_SYSCALL_GET_ALLOC_SIZE, count)
+#define syscall_get_alloc_size_time __profile_stats_value(PR_VALUE_SYSCALL_GET_ALLOC_SIZE, time)
+
PR_VALUE_SYSCALL_UNLINK,
#define syscall_unlink_count __profile_stats_value(PR_VALUE_SYSCALL_UNLINK, count)
#define syscall_unlink_time __profile_stats_value(PR_VALUE_SYSCALL_UNLINK, time)