import wip/lmdbg and wip/libstacktrace

Aleksey Cheusov <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
I believe wip/lmdbg is also ready for importing.  It is a modular malloc
debugger that work under NetBSD, FreeBSD, DFBSD, MirBSD, Linux and
Solaris. With some issues with shared libraries OpenBSD is also
supported.

DESCR
    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

wip/libstacktrace provides stacktrace(3) function
similar to glibc's backtrace(3).

-- 
Best regards, Aleksey Cheusov.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.