Fix: stream_per_chan_id_ht should allow duplicates
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 10 Nov 2017 21:22:13 +0000 (16:22 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Feb 2018 16:27:06 +0000 (11:27 -0500)
Fixes: #1134
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.c

index 3755932ab59cf8ad177607b5ad64c95a9c76bcae..2d66048087727d6ae8fe063aeb871a36dbea8536 100644 (file)
@@ -2155,7 +2155,7 @@ void consumer_add_metadata_stream(struct lttng_consumer_stream *stream)
 
        lttng_ht_add_unique_u64(ht, &stream->node);
 
-       lttng_ht_add_unique_u64(consumer_data.stream_per_chan_id_ht,
+       lttng_ht_add_u64(consumer_data.stream_per_chan_id_ht,
                &stream->node_channel_id);
 
        /*
This page took 0.027826 seconds and 4 git commands to generate.