Fix: lttng-consumerd: cpu hotplug: send "streams_sent" command
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 11 May 2017 20:00:56 +0000 (16:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 22 May 2017 10:44:34 +0000 (06:44 -0400)
commitb7fa98e6ecaefea815ae0a41b9b97353dd17de8a
treef73e1709ca9587bc425cf69136ac3ab3eada3032
parent6c598487f3667228a3457d1f3b0cc8f9e745141c
Fix: lttng-consumerd: cpu hotplug: send "streams_sent" command

When creating a new channel, the streams being sent to the relayd are
kept invisible to the live client until the "streams_sent" command is
received. This ensures the client does not see a partial stream set.

This "streams_sent" command needs to be sent on CPU hotplug too,
otherwise the live client handling within relayd is not aware of those
streams (they are never published).

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