From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16863 invoked by alias); 17 Dec 2003 23:32:07 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 16847 invoked from network); 17 Dec 2003 23:32:06 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 17 Dec 2003 23:32:06 -0000 Received: from redhat.com (drepper@myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.10/8.12.10) with ESMTP id hBHNUP2K001317; Wed, 17 Dec 2003 15:30:25 -0800 Message-ID: <3FE0E711.6050107@redhat.com> Date: Wed, 17 Dec 2003 23:32:00 -0000 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031216 MIME-Version: 1.0 To: Jakub Jelinek CC: Glibc hackers Subject: Re: [PATCH] Trace memalign and posix_memalign in mtrace References: <20031217110444.GT12344@sunsite.ms.mff.cuni.cz> In-Reply-To: <20031217110444.GT12344@sunsite.ms.mff.cuni.cz> X-Enigmail-Version: 0.82.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-12/txt/msg00071.txt.bz2 -----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-----