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:26:48 +0000 (12:26 -0500)
commit0bb50a4e9aa8d0fe5e3754ae24adb51f0ea12e82
treee7d1ee85d61ef1b31c17e599ce7e05eb71a49d3d
parent1a447d12098fd1ce2d3fd2946cf225039c583b5f
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>
Conflicts:
src/common/kernel-consumer/kernel-consumer.c
- No health in stable-2.3 thus had to remove a health update
code statement.
src/bin/lttng-sessiond/kernel.c
src/common/kernel-consumer/kernel-consumer.c
This page took 0.026042 seconds and 4 git commands to generate.