Visibility hidden by default
[babeltrace.git] / src / plugins / ctf / fs-src / data-stream-file.cpp
index f545cefcfb4871c5fabfbc226920187dc0548e1d..3c28721fe2a87040746e6ba3aec1a4ffbc055368 100644 (file)
@@ -261,7 +261,6 @@ static enum ctf_msg_iter_medium_status medop_seek(off_t offset, void *data)
     return ds_file_mmap(ds_file, offset);
 }
 
-BT_HIDDEN
 struct ctf_msg_iter_medium_ops ctf_fs_ds_file_medops = {
     medop_request_bytes,
     medop_seek,
@@ -334,8 +333,8 @@ ctf_fs_ds_group_medops_set_file(struct ctf_fs_ds_group_medops_data *data,
 
         /* Create the new file. */
         data->file =
-            ctf_fs_ds_file_create(data->ds_file_group->ctf_fs_trace, self_msg_iter,
-                                  data->ds_file_group->stream, index_entry->path, log_level);
+            ctf_fs_ds_file_create(data->ds_file_group->ctf_fs_trace, data->ds_file_group->stream,
+                                  index_entry->path, log_level);
         if (!data->file) {
             BT_MSG_ITER_LOGE_APPEND_CAUSE(self_msg_iter, "failed to create ctf_fs_ds_file.");
             status = CTF_MSG_ITER_MEDIUM_STATUS_ERROR;
@@ -390,7 +389,6 @@ end:
     return status;
 }
 
-BT_HIDDEN
 void ctf_fs_ds_group_medops_data_destroy(struct ctf_fs_ds_group_medops_data *data)
 {
     if (!data) {
@@ -849,11 +847,8 @@ error:
     goto end;
 }
 
-BT_HIDDEN
-struct ctf_fs_ds_file *ctf_fs_ds_file_create(struct ctf_fs_trace *ctf_fs_trace,
-                                             bt_self_message_iterator *self_msg_iter,
-                                             bt_stream *stream, const char *path,
-                                             bt_logging_level log_level)
+struct ctf_fs_ds_file *ctf_fs_ds_file_create(struct ctf_fs_trace *ctf_fs_trace, bt_stream *stream,
+                                             const char *path, bt_logging_level log_level)
 {
     int ret;
     const size_t offset_align = bt_mmap_get_offset_align_size(log_level);
@@ -865,7 +860,6 @@ struct ctf_fs_ds_file *ctf_fs_ds_file_create(struct ctf_fs_trace *ctf_fs_trace,
 
     ds_file->log_level = log_level;
     ds_file->self_comp = ctf_fs_trace->self_comp;
-    ds_file->self_msg_iter = self_msg_iter;
     ds_file->file = ctf_fs_file_create(log_level, ds_file->self_comp);
     if (!ds_file->file) {
         goto error;
@@ -893,7 +887,6 @@ end:
     return ds_file;
 }
 
-BT_HIDDEN
 struct ctf_fs_ds_index *ctf_fs_ds_file_build_index(struct ctf_fs_ds_file *ds_file,
                                                    struct ctf_fs_ds_file_info *file_info,
                                                    struct ctf_msg_iter *msg_iter)
@@ -914,7 +907,6 @@ end:
     return index;
 }
 
-BT_HIDDEN
 struct ctf_fs_ds_index *ctf_fs_ds_index_create(bt_logging_level log_level,
                                                bt_self_component *self_comp)
 {
@@ -941,7 +933,6 @@ end:
     return index;
 }
 
-BT_HIDDEN
 void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *ds_file)
 {
     if (!ds_file) {
@@ -958,7 +949,6 @@ void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *ds_file)
     g_free(ds_file);
 }
 
-BT_HIDDEN
 void ctf_fs_ds_index_destroy(struct ctf_fs_ds_index *index)
 {
     if (!index) {
This page took 0.031305 seconds and 4 git commands to generate.