Only compile in tracking astobj2 statistics if dev-mode is enabled. Also, when

dev mode is enabled, register the CLI command that can be used to run the astobj2
test and print out statistics.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@82337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-09-13 18:45:59 +00:00
parent 1a2176da3e
commit c8dd4e7430
3 changed files with 36 additions and 5 deletions

View File

@@ -2858,6 +2858,8 @@ int main(int argc, char *argv[])
threadstorage_init();
astobj2_init();
if (load_modules(1)) {
printf(term_quit());
exit(1);