X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Ffs-src%2Ffs.cpp;h=ed808d31dd8c1413c54112a1ad4418c1b7d2201a;hb=c802cacb9f0879a42e01575595a75bbefe7d3db9;hp=4f788373f9be5cedefdfedd2bc6d62847df4c93e;hpb=50b9f4b57b59dd9524a6c463c64470b2aac9c429;p=babeltrace.git diff --git a/src/plugins/ctf/fs-src/fs.cpp b/src/plugins/ctf/fs-src/fs.cpp index 4f788373..ed808d31 100644 --- a/src/plugins/ctf/fs-src/fs.cpp +++ b/src/plugins/ctf/fs-src/fs.cpp @@ -7,27 +7,31 @@ * Babeltrace CTF file system Reader Component */ +#include +#include +#include + +#include + #define BT_COMP_LOG_SELF_COMP self_comp #define BT_LOG_OUTPUT_LEVEL log_level #define BT_LOG_TAG "PLUGIN/SRC.CTF.FS" #include "logging/comp-logging.h" +#include "common/assert.h" #include "common/common.h" -#include #include "common/uuid.h" -#include -#include "common/assert.h" -#include -#include -#include "fs.hpp" -#include "metadata.hpp" -#include "data-stream-file.hpp" -#include "file.hpp" -#include "../common/metadata/decoder.hpp" + +#include "plugins/common/param-validation/param-validation.h" + #include "../common/metadata/ctf-meta-configure-ir-trace.hpp" +#include "../common/metadata/decoder.hpp" #include "../common/msg-iter/msg-iter.hpp" +#include "data-stream-file.hpp" +#include "file.hpp" +#include "fs.hpp" +#include "metadata.hpp" #include "query.hpp" -#include "plugins/common/param-validation/param-validation.h" struct tracer_info { @@ -401,7 +405,7 @@ gchar *ctf_fs_make_port_name(struct ctf_fs_ds_file_group *ds_file_group) return g_string_free(name, FALSE); } -static int create_one_port_for_trace(struct ctf_fs_component *ctf_fs, struct ctf_fs_trace *, +static int create_one_port_for_trace(struct ctf_fs_component *ctf_fs, struct ctf_fs_ds_file_group *ds_file_group, bt_self_component_source *self_comp_src) { @@ -459,7 +463,7 @@ static int create_ports_for_trace(struct ctf_fs_component *ctf_fs, struct ctf_fs_ds_file_group *ds_file_group = (struct ctf_fs_ds_file_group *) g_ptr_array_index(ctf_fs_trace->ds_file_groups, i); - ret = create_one_port_for_trace(ctf_fs, ctf_fs_trace, ds_file_group, self_comp_src); + ret = create_one_port_for_trace(ctf_fs, ds_file_group, self_comp_src); if (ret) { BT_COMP_LOGE_APPEND_CAUSE(self_comp, "Cannot create output port."); goto end;