|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
MTRACE(3) Linux Programmer's Manual MTRACE(3)
NAME
mtrace, muntrace - malloc debugging
SYNOPSIS
#include <mcheck.h>
void mtrace(void);
void muntrace(void);
DESCRIPTION
The function mtrace() installs handlers for malloc(), realloc() and
free(). The function muntrace() disables these handlers.
The environment variable MALLOC_TRACE defines a file where mtrace()
writes its output. This file must be writable to the user or mtrace()
will do nothing. If the file is not empty it will be truncated.
NOTE
The output of mtrace() will be ASCII but not in a friendly format. So
glibc comes with a perl-script called mtrace to make sense of it.
CONFORMING TO
These are GNU extensions.
SEE ALSO
malloc(3), malloc_hook(3)
GNU 2002-07-20 MTRACE(3)
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Sat Sep 8 16:38:03 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
svn man page (6143 hits) (FreeBSD 6.2)
sqlite3 man page (5592 hits) (openSUSE 10.2)
adv_cap_autoneg man page (5041 hits) (Solaris 10 11_06)
CPAN man page (4787 hits) (Suse Linux 10.1)
ssh man page (4438 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (3506 hits) (Solaris 10 11_06)
signal man page (3363 hits) (Suse Linux 10.1)
netcat man page (3359 hits) (Suse Linux 10.1)
pprosetup man page (2876 hits) (Solaris 10 11_06)
startproc man page (2732 hits) (Suse Linux 10.1)
|