ctf: add weak ref to stream file in index entry
[babeltrace.git] / src / plugins / ctf / fs-src / fs.h
index b52e179617ee0c7b547637dca91ae306b2c03748..5ba3d571436ed11ef5de121243f737183119fce9 100644 (file)
@@ -63,8 +63,6 @@ struct ctf_fs_metadata {
        /* Weak (owned by `decoder` above) */
        struct ctf_trace_class *tc;
 
-       /* Owned by this */
-
        /* Owned by this */
        char *text;
 
@@ -115,6 +113,9 @@ struct ctf_fs_trace {
 };
 
 struct ctf_fs_ds_index_entry {
+       /* Weak, belongs to ctf_fs_ds_file_info. */
+       const char *path;
+
        /* Position, in bytes, of the packet from the beginning of the file. */
        uint64_t offset;
 
@@ -215,10 +216,9 @@ void ctf_fs_finalize(bt_self_component_source *component);
 BT_HIDDEN
 bt_component_class_query_method_status ctf_fs_query(
                bt_self_component_class_source *comp_class,
-               const bt_query_executor *query_exec,
+               bt_private_query_executor *priv_query_exec,
                const char *object, const bt_value *params,
-               bt_logging_level log_level,
-               const bt_value **result);
+               void *method_data, const bt_value **result);
 
 BT_HIDDEN
 bt_component_class_message_iterator_init_method_status ctf_fs_iterator_init(
This page took 0.024029 seconds and 4 git commands to generate.