src.ctf.fs: use BT_COMP_LOG*() instead of BT_LOG*()
[babeltrace.git] / src / plugins / ctf / fs-src / data-stream-file.h
index c826a656971a0831648e4d5292bf705158f8a014..50f91b3653b879c995c824c0f2063992e6ecb927 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdio.h>
 #include <stdbool.h>
 #include <glib.h>
-#include "common/babeltrace.h"
+#include "common/macros.h"
 #include <babeltrace2/babeltrace.h>
 
 #include "../common/msg-iter/msg-iter.h"
@@ -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.025341 seconds and 4 git commands to generate.