diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-30 18:14:14 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-30 18:14:14 +0000 |
commit | 45c82b1d8555901b6992bf9a30120fbb35a005ab (patch) | |
tree | f4856594ac021a4b9988433f782d2516dfb56606 /src/or | |
parent | 9fb77a6479a079aeb5698272c68bd50acdffe401 (diff) | |
download | tor-45c82b1d8555901b6992bf9a30120fbb35a005ab.tar.gz tor-45c82b1d8555901b6992bf9a30120fbb35a005ab.zip |
r14024@catbus: nickm | 2007-07-30 14:13:58 -0400
Glibc (and maybe others) define a mallinfo() that can be used to see how the platform malloc is acting inside. When we have it, dump its output on dumpmemusage().
svn:r10996
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 25a0f32616..0086168a4d 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1550,6 +1550,7 @@ dumpmemusage(int severity) dump_routerlist_mem_usage(severity); dump_cell_pool_usage(severity); buf_dump_freelist_sizes(severity); + tor_log_mallinfo(severity); } /** Write all statistics to the log, with log level 'severity'. Called |