[ltt-dev] [UST] malloc error found by david

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed Sep 29 16:40:16 EDT 2010


Hi Nils,

Please double-check that you ported commit 

38516ab59fbc5b3bb278cf5e1fe2867c70cff32e

    tracing: Let tracepoints have data passed to tracepoint callbacks

correctly from mainline. There is at least a bug in 

static inline void *allocate_probes(int count)

(sizeof(void *) should be changed for sizeof(struct tracepoint_func))

Hopefully no other bugs crept in.

Credits go to David Goulet, how just spent 2 days hunting this one down.

Thanks,

Mathieu



-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list