[PATCH] Trace memalign and posix_memalign in mtrace

Ulrich Drepper drepper@redhat.com
Wed Dec 17 23:32:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek wrote:

> 	* malloc/mtrace.c (tr_old_memalign_hook): New variable.
> 	(tr_memalignhook): New function.
> 	(mtrace): Register tr_memalignhook.
> 	(muntrace): Deregister tr_memalignhook.
> 	* malloc/malloc.c (__posix_memalign): If __memalign_hook != NULL,
> 	call it directly instead of memalign_internal.

Applied.  Thanks,

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/4OcR2ijCOnn/RHQRAs5OAKCE9IoKTIU2e5CPQvz7qEk549s7UwCeMjww
0oExL7RjzPvK9pW1blFeYxI=
=Ota8
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list