X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=plugins%2Fctf%2Ffs-src%2Ffs.h;h=c72be5e03dd3000b065ef1521384be843d7a5cfc;hp=101d427e704a11bc233e2ad4a74604b283361013;hb=44c440bc5fe8219cc17d1b786d91fd83c4c9860a;hpb=c800eb3790218d2f33df01e77ec38cbd43cc02a1 diff --git a/plugins/ctf/fs-src/fs.h b/plugins/ctf/fs-src/fs.h index 101d427e..c72be5e0 100644 --- a/plugins/ctf/fs-src/fs.h +++ b/plugins/ctf/fs-src/fs.h @@ -33,6 +33,7 @@ #include #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;