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.9.9~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=25e7983d657d8733e1e3f082fc202fe61781a33c;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 814d93e76..106c705f1 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -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); /*