Fix: kernel channel destroy on consumer if sent
authorDavid Goulet <dgoulet@efficios.com>
Tue, 25 Feb 2014 17:21:32 +0000 (12:21 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 25 Feb 2014 17:24:43 +0000 (12:24 -0500)
commit9000e568af18bf18daf81c3d9d551d3c9a3ee56c
tree0d574882b494798e4cfe74c44019339f1af9ab0d
parentce4846f710f60d6dec300333bd8d554827465e8d
Fix: kernel channel destroy on consumer if sent

An enable-channel immediately followed by a destroy session triggered an
assert on the consumer followed by the shutdown of the consumer thread
for the kernel.

This fix make sure we don't ask the consumer to destroy a channel if not
previously sent to it and handle not found channel on destroy.

Fixes #643

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/kernel.c
src/common/kernel-consumer/kernel-consumer.c
This page took 0.026105 seconds and 4 git commands to generate.