Fix: sessiond: only send streams to consumer once
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 Jan 2017 20:49:48 +0000 (15:49 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 23 Jan 2017 22:29:56 +0000 (17:29 -0500)
commitb64dd54ff24bdf563261d5643b827f52e1f6092e
tree0a39e900e0e1e6c5596a96db08298fe9e56cd439
parent0da51aa616b66ce64ce26a81f13be52e38eed760
Fix: sessiond: only send streams to consumer once

Session daemon should not send streams to consumer daemon
repeatedly when CPU hotplug is performed while doing kernel
tracing.

This causes the consumer daemon to have multiple file descriptors
on the same stream, and thus try to perform operations like reading
a sub-buffer and checking for data pending concurrently. This triggers
safety-net warnings in the kernel tracer.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/kernel-consumer.c
src/bin/lttng-sessiond/trace-kernel.h
This page took 0.026581 seconds and 4 git commands to generate.