malloc_hook questions ...

Ulrich Drepper drepper@redhat.com
Wed Jul 26 14:38:00 GMT 2006


Michael Meeks wrote:
> 	I've recently been trying to use the glibc malloc hooks instead of an
> LD_PRELOAD hack in my re-work of 'memprof', and a number of interesting
> issues rear their heads.

Do not use malloc hooks.  They cannot work reliably and will disappear
in the next malloc implementation.  Ignore them.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060726/8d9a8f8c/attachment.sig>


More information about the Libc-alpha mailing list