This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] malloc: Remove malloc hooks (Bug 23328)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Carlos O'Donell <carlos at redhat dot com>, DJ Delorie <dj at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Mon, 23 Jul 2018 16:13:30 +0200
- Subject: Re: [PATCH v2] malloc: Remove malloc hooks (Bug 23328)
- References: <ddf39fca-aa0a-9b14-ee78-a1bfa1225623@redhat.com>
On 06/30/2018 04:57 AM, Carlos O'Donell wrote:
+ (Hooks for Malloc): Remove.
The manual no longer builds:
./memory.texi:1522: @pxref reference to nonexistent node `Hooks for Malloc'
That's from here:
If the named file is successfully opened, @code{mtrace} installs special
handlers for the functions @code{malloc}, @code{realloc}, and
@code{free} (@pxref{Hooks for Malloc}). From then on, all uses of these
functions are traced and protocolled into the file. There is now of
course a speed penalty for all calls to the traced functions so tracing
should not be enabled during normal use.
Thanks,
Florian