- for (i = 0; i < stream_class->event_classes->len; i++) {
- struct bt_ctf_event_class *current_event_class =
- g_ptr_array_index(stream_class->event_classes, i);
-
- if (bt_ctf_event_class_get_id(current_event_class) == id) {
- event_class = current_event_class;
- bt_get(event_class);
- goto end;
- }
- }