summaryrefslogtreecommitdiffstats
path: root/source3/param
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-10-09 12:56:28 +0000
committerJeremy Allison <jra@samba.org>2014-11-19 20:51:37 +0100
commit66173dd987e2105ab91551e452c1682021f12144 (patch)
treec7ff62f3a784116a5f7939cae90fed32d6e46c26 /source3/param
parentcfb12b11ce9290ba9922353d2f461691718ceb11 (diff)
downloadsamba-66173dd987e2105ab91551e452c1682021f12144.tar.gz
samba-66173dd987e2105ab91551e452c1682021f12144.tar.xz
samba-66173dd987e2105ab91551e452c1682021f12144.zip
param: add "smbd profiling level" option
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index d6ba8fba10..f246c28fe6 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -688,6 +688,7 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
Globals.passwd_chat_timeout = 2; /* 2 second default. */
Globals.nt_pipe_support = true; /* Do NT pipes by default. */
Globals.nt_status_support = true; /* Use NT status by default. */
+ Globals.smbd_profiling_level = 0;
Globals.stat_cache = true; /* use stat cache by default */
Globals.max_stat_cache_size = 256; /* 256k by default */
Globals.restrict_anonymous = 0;