[lttng-dev] [PATCH lttng-ust] Add trace support for calloc and realloc.

Stefan Seefeld stefan_seefeld at mentor.com
Wed Aug 7 11:56:46 EDT 2013


On 08/07/2013 11:50 AM, Mathieu Desnoyers wrote:
> * Stefan Seefeld (stefan_seefeld at mentor.com) wrote:
>> ...and another revision of the previous patch, now with mutex-protected
>> static_calloc.
>> For consistency I have also adjusted the ust_libc.h header to use 'void
>> *' instead of 'unsigned long' in its tracepoint declaration.
> merged.

Thanks !

> I also pushed the following on top:
>
> commit 4c3536e01190b118e0889ebb991b0eea6f98260e
> Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> Date:   Wed Aug 7 11:48:50 2013 -0400
>
>     malloc instrumentation: remove dependency on pthread
>     
>     Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
>
> I notice that memalign and posix_memalign are missing. Do you have plans
> to add them ?

Yes, I can certainly do that.

    Stefan



-- 
Stefan Seefeld
CodeSourcery / Mentor Graphics
http://www.mentor.com/embedded-software/




More information about the lttng-dev mailing list