From 0104882e9b320a6b9b5d02fdd8b638d90fff1a1c Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 22 Jul 2007 07:05:43 +0000 Subject: dump dmalloc stats on sighup svn:r10903 --- src/or/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/or/main.c b/src/or/main.c index 7b89bd7294..a41b8cb17f 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1249,6 +1249,10 @@ do_hup(void) { or_options_t *options = get_options(); +#ifdef USE_DMALLOC + dmalloc_log_stats(); +#endif + log_notice(LD_GENERAL,"Received reload signal (hup). Reloading config."); if (accounting_is_enabled(options)) accounting_record_bandwidth_usage(time(NULL), get_or_state()); -- cgit v1.2.3-54-g00ecf