Fix: lttng-sessiond: cpu hotplug: send channel to consumer only once
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 11 May 2017 20:00:55 +0000 (16:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 22 May 2017 10:46:02 +0000 (06:46 -0400)
commit64d80efcab5c30128f9c28d3954b68519f4e35f8
tree340968c269b46244866313a51c9f96e11210d15c
parenta2d808db82a77a9b5133f1aaee2de32d7f990fbc
Fix: lttng-sessiond: cpu hotplug: send channel to consumer only once

On CPU hotplug, we currently send a duplicate of the channel key, which
allocates its own object (duplicated) within the consumerd. We want the
newly added stream to map to the pre-existing channel key, so don't send
the channel duplicate.

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.024677 seconds and 4 git commands to generate.