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.11.0-rc1~377 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=446156b4cba25f3d9abc835dd0d531a447d52941;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 3755932ab..2d6604808 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -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); /*