Change-Id: Ia58cc038ba597dff3c5e2fc6d9d29e18f71d5c89
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11212
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
return g_string_free(name, FALSE);
}
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)
{
struct ctf_fs_ds_file_group *ds_file_group,
bt_self_component_source *self_comp_src)
{
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);
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;
if (ret) {
BT_COMP_LOGE_APPEND_CAUSE(self_comp, "Cannot create output port.");
goto end;