lib: move trace class's name, UUID, and environment props to trace API
[babeltrace.git] / src / plugins / ctf / fs-sink / fs-sink-trace.h
index 9a8ac525ceb34738735e2cc100b2cb928d9aa4ac..6b982fa38a409037f7f5935a107088d80d6cc6df 100644 (file)
@@ -23,7 +23,7 @@
  * SOFTWARE.
  */
 
-#include "common/babeltrace.h"
+#include "common/macros.h"
 #include <babeltrace2/babeltrace.h>
 #include "ctfser/ctfser.h"
 #include <glib.h>
 struct fs_sink_comp;
 
 struct fs_sink_trace {
+       bt_logging_level log_level;
        struct fs_sink_comp *fs_sink;
 
        /* Owned by this */
-       struct fs_sink_ctf_trace_class *tc;
+       struct fs_sink_ctf_trace *trace;
 
        /*
-        * Weak reference: this object does not own it, and `tc` above
-        * does not own its trace IR trace class either. Instead, we add
-        * a "trace destruction" listener (in create_trace()) so that
-        * this object gets destroyed when the trace object is
-        * destroyed.
+        * Weak reference: this object does not own it, and `trace`
+        * above does not own its trace IR trace and trace class either.
+        * Instead, we add a "trace destruction" listener (in
+        * create_trace()) so that this object gets destroyed when the
+        * trace object is destroyed.
         *
         * Otherwise (with a strong reference), we would keep this trace
         * object alive until the upstream message iterator ends. This
This page took 0.024819 seconds and 4 git commands to generate.