struct lttng_live_trace
{
+ using UP = std::unique_ptr<lttng_live_trace>;
+
explicit lttng_live_trace(const bt2c::Logger& parentLogger) :
logger {parentLogger, "PLUGIN/SRC.CTF.LTTNG-LIVE/TRACE"}
{
uint64_t id = 0;
- /* Array of pointers to struct lttng_live_trace. */
- GPtrArray *traces = nullptr;
+ std::vector<lttng_live_trace::UP> traces;
bool attached = false;
bool new_streams_needed = false;