From: Julien Desfossez Date: Fri, 10 Nov 2017 21:22:13 +0000 (-0500) Subject: Fix: stream_per_chan_id_ht should allow duplicates X-Git-Tag: v2.10.4~9 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=08eea91894d184f229e3aa991c6b581827eabd89;p=lttng-tools.git Fix: stream_per_chan_id_ht should allow duplicates Fixes: #1134 Signed-off-by: Julien Desfossez Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index 73ccbf6bd..22f223694 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -2159,7 +2159,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); /*