Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mtrace(1) [linux man page]

MTRACE(1)							      Debian								 MTRACE(1)

NAME
mtrace - Interpret output from MALLOC_TRACE SYNOPSIS
mtrace [OPTION]... [Binary] MtraceData DESCRIPTION
The mtrace interprets the output from when the MALLOC_TRACE environment variable is set. AUTHOR
mtrace was written by Ulrich Drepper as part of the GNU C Library. This man page was written by Jeff Bailey <jbailey@debian.org>. 3rd Berkeley Distribution November 2003 MTRACE(1)

Check Out this Related Man Page

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(3), realloc(3) and free(3). 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. CONFORMING TO
These are GNU extensions. NOTES
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. SEE ALSO
malloc(3), malloc_hook(3) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU
2002-07-20 MTRACE(3)
Man Page