Merge from vendor branch TNF:
authorcheusov <cheusov>
Sun, 8 May 2011 18:32:15 +0000 (18:32 +0000)
committercheusov <cheusov>
Sun, 8 May 2011 18:32:15 +0000 (18:32 +0000)
commit852d3d484fcd9466bfc74fd32969622cbec0d34f
treeaebd56fc1a26dd3bae55eb225079339df4c94c99
parenta0235f6b4a0366df2d55d9cfdcb3901898476f88
parent917e890f2e3db55b24e2ecb05b321019a31e09b1
Merge from vendor branch TNF:

LMDBG is a collection of small tools for collecting and analyzing logs
of malloc/realloc/memalign/free etc. function calls. Unlike many
others, LMDBG does not provide any way to detect overruns of the
boundaries of malloc() memory allocations, as this is not the
goal. Like most other malloc debuggers, LMDBG allows detecting memory
leaks. Unlike some others LMDBG generates full stacktraces and
separates the logging process from analysis, thus allowing you to
analyze application on a per-module basis. Simple but powerful tools
for analisis are also provided.

lmdbg-run    - Creates malloc/realloc/free/memalign/... logs
lmdbg-sym    - Converts addresses to 'file.c:NUM func_name'
lmdbg-leak   - Checks for memory leaks
lmdbg-stat   - Gathers statistical information about memory allocations
lmdbg-grep   - Greps the stackframes
lmdbg-strip  - Strips the stackframes
lmdbg-module - Enrichs the stackframes with a module name
lmdbg-sort   - Sorts the stackframes by e.g. total allocated bytes,
               a number of memory allocations etc.
lmdbg-sysleaks - Filters out system memory leaks e.g. libc's