Change behaviour of stream-intersection with multiple traces
[babeltrace.git] / bindings / python / python-complements.c
index 6b47ff9bf9aaaaac16213b00e9cb854c9752b89f..b9a11f1410d880cee18e777b3e8846269ce938b0 100644 (file)
@@ -261,12 +261,12 @@ struct bt_ctf_iter *_bt_python_ctf_iter_create_intersect(
                        &inter_end_pos);
 }
 
-int _bt_python_has_intersection(struct bt_context *ctx)
+int _bt_python_trace_collection_has_intersection(struct bt_context *ctx)
 {
        int ret;
-       uint64_t begin = 0, end = ULLONG_MAX;
+       int64_t begin, end;
 
-       ret = ctf_find_packets_intersection(ctx, &begin, &end);
+       ret = ctf_find_tc_stream_packet_intersection_union(ctx, &begin, &end);
 
        return ret == 0 ? 1 : 0;
 }
This page took 0.023814 seconds and 4 git commands to generate.