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, 25 Apr 2018 15:39:07 +0000 (11:39 -0400)
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 814d93e76887c64d1ba8e54ad813d8f909f2850b..106c705f1b0cc48cd294c8442aa5d42ff2feacc2 100644 (file)
@@ -2151,7 +2151,7 @@ int 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.029956 seconds and 4 git commands to generate.