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 9ca03d1bcf11caecf4af41b43895fd580ef8c7c5..6b982fa38a409037f7f5935a107088d80d6cc6df 100644 (file)
@@ -39,14 +39,14 @@ struct fs_sink_trace {
        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.02435 seconds and 4 git commands to generate.