Remove bt_ctf_stream_class_get_event_class_by_name()
[babeltrace.git] / plugins / debug-info / copy.c
index 55cf1351bfe86017d96b36ab0f162412b1096edf..824774ff128ae36addb22c0a9ef6a5f22edacc4e 100644 (file)
@@ -981,8 +981,8 @@ struct bt_ctf_event_class *get_event_class(struct debug_info_iterator *debug_it,
                struct bt_ctf_stream_class *writer_stream_class,
                struct bt_ctf_event_class *event_class)
 {
-       return bt_ctf_stream_class_get_event_class_by_name(writer_stream_class,
-                       bt_ctf_event_class_get_name(event_class));
+       return bt_ctf_stream_class_get_event_class_by_id(writer_stream_class,
+                       bt_ctf_event_class_get_id(event_class));
 }
 
 static
This page took 0.024318 seconds and 4 git commands to generate.