Change behaviour of stream-intersection with multiple traces
[babeltrace.git] / bindings / python / python-complements.c
index 756c54698fbf15f592b34cec3482f1565e5b50d1..0e3bbdf1a3e237859eb4c98998a1148a1f0ed2ee 100644 (file)
@@ -412,12 +412,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.023919 seconds and 4 git commands to generate.