ctf: msg-iter: add event timestamp accessors
[babeltrace.git] / src / plugins / ctf / fs-src / fs.c
index 8b6d547a6f24bae5b70c4bffa392712b5fa0087e..38878f18e2829a5c202b8fc2c1a2a3589ed55883 100644 (file)
@@ -1703,7 +1703,7 @@ int ctf_fs_component_create_ctf_fs_traces(bt_self_component_source *self_comp,
        int ret = 0;
        uint64_t i;
 
-       for (i = 0; i < bt_value_array_get_size(paths_value); i++) {
+       for (i = 0; i < bt_value_array_get_length(paths_value); i++) {
                const bt_value *path_value = bt_value_array_borrow_element_by_index_const(paths_value, i);
                const char *input = bt_value_string_get(path_value);
 
@@ -1847,7 +1847,7 @@ bool validate_inputs_parameter(struct ctf_fs_component *ctf_fs,
                goto error;
        }
 
-       for (i = 0; i < bt_value_array_get_size(inputs); i++) {
+       for (i = 0; i < bt_value_array_get_length(inputs); i++) {
                const bt_value *elem;
 
                elem = bt_value_array_borrow_element_by_index_const(inputs, i);
@@ -1991,6 +1991,7 @@ bt_component_class_query_method_status ctf_fs_query(
                bt_self_component_class_source *comp_class,
                bt_private_query_executor *priv_query_exec,
                const char *object, const bt_value *params,
+               __attribute__((unused)) void *method_data,
                const bt_value **result)
 {
        bt_component_class_query_method_status status =
This page took 0.029335 seconds and 4 git commands to generate.