X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-registry-channel.cpp;h=85448b7032626024c116837aa392643bb8ed4d92;hb=6d31b87d46a9301fe86d273616ab3d7214d24e65;hp=a2a1707dcbc180b3508c900b6fc0ff97bb982e9b;hpb=f139a4f9cdbea2b08d08b024ad0996fb5bebad41;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-registry-channel.cpp b/src/bin/lttng-sessiond/ust-registry-channel.cpp index a2a1707dc..85448b703 100644 --- a/src/bin/lttng-sessiond/ust-registry-channel.cpp +++ b/src/bin/lttng-sessiond/ust-registry-channel.cpp @@ -85,7 +85,6 @@ lsu::registry_channel::registry_channel(unsigned int channel_id, lst::stream_class(channel_id, lst::stream_class::header_type::LARGE), _key{-1ULL}, _consumer_key{-1ULL}, - _metadata_dumped{false}, _next_event_id{0}, _is_registered_listener{channel_registered_listener}, _event_added_listener{event_added_listener}, @@ -99,6 +98,13 @@ lsu::registry_channel::registry_channel(unsigned int channel_id, /* Set custom match function. */ _events->match_fct = ht_match_event; _events->hash_fct = ht_hash_event; + + _rcu_head = {}; + /* + * Node's key is initialized by the channel's parent session. Its value is irrelevant to the + * channel object itself. + */ + _node = {}; } void lsu::registry_channel::add_event(