CTF IR -> Trace IR
[babeltrace.git] / plugins / ctf / fs-src / fs.h
index 534cb6b513cc2ec7afeaa6a485970d31e31ecc3a..26e796a73bedeaf1dc263879233e3954da9c92c3 100644 (file)
@@ -33,6 +33,7 @@
 #include <babeltrace/babeltrace.h>
 #include "data-stream-file.h"
 #include "metadata.h"
+#include "../common/metadata/decoder.h"
 
 BT_HIDDEN
 extern bool ctf_fs_debug;
@@ -48,9 +49,17 @@ struct ctf_fs_file {
 };
 
 struct ctf_fs_metadata {
+       /* Owned by this */
+       struct ctf_metadata_decoder *decoder;
+
        /* Owned by this */
        struct bt_trace *trace;
 
+       /* Weak (owned by `decoder` above) */
+       struct ctf_trace_class *tc;
+
+       /* Owned by this */
+
        /* Owned by this */
        char *text;
 
@@ -76,9 +85,6 @@ struct ctf_fs_trace {
        /* Owned by this */
        struct ctf_fs_metadata *metadata;
 
-       /* Owned by this */
-       struct bt_clock_class_priority_map *cc_prio_map;
-
        /* Array of struct ctf_fs_ds_file_group *, owned by this */
        GPtrArray *ds_file_groups;
 
@@ -100,7 +106,7 @@ struct ctf_fs_ds_file_group {
         * belong to this group (a single stream instance).
         *
         * You can call ctf_fs_ds_file_create() with one of those paths
-        * and the CTF IR stream below.
+        * and the trace IR stream below.
         */
        GPtrArray *ds_file_infos;
 
@@ -127,7 +133,7 @@ struct ctf_fs_port_data {
 
 struct ctf_fs_notif_iter_data {
        /* Weak */
-       struct bt_graph *graph;
+       struct bt_private_connection_private_notification_iterator *pc_notif_iter;
 
        /* Weak, belongs to ctf_fs_trace */
        struct ctf_fs_ds_file_group *ds_file_group;
This page took 0.02885 seconds and 4 git commands to generate.