summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-04-14 03:54:31 +0000
committerTim Potter <tpot@samba.org>2003-04-14 03:54:31 +0000
commitc89a7057e5334ab8dadb4a847c2dc74434c1cc49 (patch)
treee3c2bc11f5bf11c14dce3c6e5aaa14071df39500 /source3/smbd
parent5812702c42e26402b0392ffc3d658292700b8ebe (diff)
downloadsamba-c89a7057e5334ab8dadb4a847c2dc74434c1cc49.tar.gz
samba-c89a7057e5334ab8dadb4a847c2dc74434c1cc49.tar.bz2
samba-c89a7057e5334ab8dadb4a847c2dc74434c1cc49.zip
Merge:
- debugging tdb messages now initialised and handled in lib/messages.c (This used to be commit 380875de779f2519d9ce8735362484021388b4eb)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 70925254e4..a6d3d92a8a 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -501,25 +501,6 @@ BOOL reload_services(BOOL test)
return(ret);
}
-/*******************************************************************
- Print out all talloc memory info.
-********************************************************************/
-
-void return_all_talloc_info(int msg_type, pid_t src_pid, void *buf, size_t len)
-{
- TALLOC_CTX *ctx = talloc_init("info context");
- char *info = NULL;
-
- if (!ctx)
- return;
-
- info = talloc_describe_all(ctx);
- if (info)
- DEBUG(10,(info));
- message_send_pid(src_pid, MSG_TALLOC_USAGE, info, info ? strlen(info) + 1 : 0, True);
- talloc_destroy(ctx);
-}
-
#if DUMP_CORE
/*******************************************************************
prepare to dump a core file - carefully!
@@ -821,10 +802,6 @@ static BOOL init_structs(void )
if (!message_init())
exit(1);
- register_msg_pool_usage();
- register_dmalloc_msgs();
- message_register(MSG_REQ_TALLOC_USAGE, return_all_talloc_info);
-
if (!print_backend_init())
exit(1);