Skip to content
Snippets Groups Projects
  • George Joseph's avatar
    e82f2f6e
    astmm.c: Display backtrace with memory show allocations · e82f2f6e
    George Joseph authored
    You can currently capture backtraces of memory allocations but they
    only get displayed when you stop asterisk and the atexit hooks
    are enabled.  Now, if memory backtrace is on and you issue a
    "memory show allocations" CLI command for a specific file, then
    a backtrace will show for each allocation that occurred after
    you turned "memory backtrace on".  The backtrace display is shown
    only when a specific file's allocations are displayed to prevent
    a massive CLI dump of every file's allocations.
    
    Change-Id: Ic657afc1fc6ec7205e16eb36a97a611d235a2b4f
    e82f2f6e
    History
    astmm.c: Display backtrace with memory show allocations
    George Joseph authored
    You can currently capture backtraces of memory allocations but they
    only get displayed when you stop asterisk and the atexit hooks
    are enabled.  Now, if memory backtrace is on and you issue a
    "memory show allocations" CLI command for a specific file, then
    a backtrace will show for each allocation that occurred after
    you turned "memory backtrace on".  The backtrace display is shown
    only when a specific file's allocations are displayed to prevent
    a massive CLI dump of every file's allocations.
    
    Change-Id: Ic657afc1fc6ec7205e16eb36a97a611d235a2b4f