ust_metadata_channel_statedump no longer exists and _metadata_dumped
is unused.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I2fa3f3bcb8d1c5a779ab1cfa0375174b479ed21f
}
}
- /* Append to metadata */
- if (!ust_reg_chan._metadata_dumped) {
- /*ret_code = ust_metadata_channel_statedump(registry, ust_reg_chan);*/
- if (ret_code) {
- ERR("Error appending channel metadata (errno = %d)", ret_code);
- goto reply;
- }
- }
-
reply:
DBG3("UST app replying to register channel key %" PRIu64
" with id %u, ret = %d", chan_reg_key, chan_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},
uint64_t _key;
uint64_t _consumer_key;
- /*
- * Flag for this channel if the metadata was dumped once during
- * registration. 0 means no, 1 yes.
- */
- unsigned int _metadata_dumped;
-
/*
* Hash table containing events sent by the UST tracer. MUST be accessed
* with a RCU read side lock acquired.