src.ctf.lttng-live: make lttng_live_trace::trace_class a bt2::TraceClass::Shared
authorSimon Marchi <simon.marchi@efficios.com>
Sun, 19 Jun 2022 03:09:57 +0000 (23:09 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Aug 2022 16:06:16 +0000 (12:06 -0400)
commit4ab7e8a3512522b02730a366ad3ac85a316093ae
tree97bbfdae1915402c9703e468f4cc9c3aa9e58f9a
parentcff22928a01c0006e93a3da3004dbdf538245e55
src.ctf.lttng-live: make lttng_live_trace::trace_class a bt2::TraceClass::Shared

Use the C++ wrapper to hold the reference to the trace class.  Wrap it
in an optional, since it's not assigned at creation.

Note that the existing comment said it is a weak reference, but the code
shows otherwise.

Change-Id: Ic486a65ab40953c5d6a3ddb7d057d2caa85cf1c0
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8415
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/lttng-live/lttng-live.cpp
src/plugins/ctf/lttng-live/lttng-live.hpp
src/plugins/ctf/lttng-live/metadata.cpp
This page took 0.02425 seconds and 5 git commands to generate.