Signed-off-by: David Goulet <david.goulet@polymtl.ca>
int sock, struct ltt_kernel_channel *channel)
{
int ret;
int sock, struct ltt_kernel_channel *channel)
{
int ret;
struct ltt_kernel_stream *stream;
struct lttcomm_consumer_msg lkm;
DBG("Sending streams of channel %s to kernel consumer",
channel->channel->name);
struct ltt_kernel_stream *stream;
struct lttcomm_consumer_msg lkm;
DBG("Sending streams of channel %s to kernel consumer",
channel->channel->name);
- nb_fd = channel->stream_count;
/* Send channel */
lkm.cmd_type = LTTNG_CONSUMER_ADD_CHANNEL;
/* Send channel */
lkm.cmd_type = LTTNG_CONSUMER_ADD_CHANNEL;