diff options
author | Martin Pool <mbp@samba.org> | 2002-01-09 08:27:15 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-01-09 08:27:15 +0000 |
commit | 6c7050ea95001c6de6085f93e3d6332ed2c3aa60 (patch) | |
tree | 68e3d6470f8e4243c8f2cdc06ae2b1d9548cad36 /source3/include | |
parent | a56f0e93ea775ede87de478f9b09de2daa72ca27 (diff) | |
download | samba-6c7050ea95001c6de6085f93e3d6332ed2c3aa60.tar.gz samba-6c7050ea95001c6de6085f93e3d6332ed2c3aa60.tar.bz2 samba-6c7050ea95001c6de6085f93e3d6332ed2c3aa60.zip |
Add two more memory-debug smbcontrol messages: these ones should
prompt dmalloc to log information about what happening, so you can see
in flight why smbd is getting bloated.
(This used to be commit bcb443c5c4bf97fe6b5b0993e42496c2e64f0124)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/messages.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h index f1cfb50836..2b0c1ad1af 100644 --- a/source3/include/messages.h +++ b/source3/include/messages.h @@ -3,6 +3,7 @@ Version 3.0 messages.c header Copyright (C) Andrew Tridgell 2000 + Copyright (C) 2001, 2002 by Martin Pool This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +35,13 @@ #define MSG_REQ_POOL_USAGE 9 #define MSG_POOL_USAGE 10 +/* If dmalloc is included, set a steady-state mark */ +#define MSG_REQ_DMALLOC_MARK 11 + +/* If dmalloc is included, dump to the dmalloc log a description of + * what has changed since the last MARK */ +#define MSG_REQ_DMALLOC_LOG_CHANGED 12 + /* nmbd messages */ #define MSG_FORCE_ELECTION 1001 |