[lttng-dev] [GIT PULL lttng-tools] Please pull from compudj-pull

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Sep 28 16:45:57 EDT 2012


Hi David,

Please pull from compudj-pull at commit:

commit 3870fc0dddd945410af05ac9e65f041acf84731a
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Fri Sep 28 16:41:25 2012 -0400

    Fix: consumer_allocate_stream error handling
    
    Fix a memory leak and "be nice" when handling stream alloc errors. Upon
    CPU hotplug, it is possible that we receive a stream only after all
    other streams are finalized, which means it could happen that we discard
    that channel, in the unlikely event that we have cpu hotplug
    concurrently with destroy.
    
    Moreover, this fix the return path of channel lookup failure: we were
    returning an zeroed stream rather than returning an error, which was
    certainly not the intended behavior.
    
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

Thanks!

Mathieu

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



More information about the lttng-dev mailing list