src.ctf.fs: use BT_COMP_LOG*() instead of BT_LOG*()
[babeltrace.git] / src / plugins / ctf / fs-src / data-stream-file.h
index d3ad00ffaca3d8e10f6f630d3a91ee7f5f207536..50f91b3653b879c995c824c0f2063992e6ecb927 100644 (file)
@@ -48,6 +48,11 @@ struct ctf_fs_ds_file_info {
 struct ctf_fs_metadata;
 
 struct ctf_fs_ds_file {
+       bt_logging_level log_level;
+
+       /* Weak */
+       bt_self_component *self_comp;
+
        /* Weak */
        struct ctf_fs_metadata *metadata;
 
@@ -91,7 +96,8 @@ struct ctf_fs_ds_file *ctf_fs_ds_file_create(
                struct ctf_fs_trace *ctf_fs_trace,
                bt_self_message_iterator *pc_msg_iter,
                struct bt_msg_iter *msg_iter,
-               bt_stream *stream, const char *path);
+               bt_stream *stream, const char *path,
+               bt_logging_level log_level);
 
 BT_HIDDEN
 void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *stream);
@@ -106,7 +112,8 @@ struct ctf_fs_ds_index *ctf_fs_ds_file_build_index(
                struct ctf_fs_ds_file *ds_file);
 
 BT_HIDDEN
-struct ctf_fs_ds_index *ctf_fs_ds_index_create();
+struct ctf_fs_ds_index *ctf_fs_ds_index_create(bt_logging_level log_level,
+               bt_self_component *self_comp);
 
 BT_HIDDEN
 void ctf_fs_ds_index_destroy(struct ctf_fs_ds_index *index);
This page took 0.02355 seconds and 4 git commands to generate.