X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Fcallbacks.c;h=6130911fec112da82f429fa60fd676e94883e96c;hp=e9dbba96a632822baca8a40dbb0675b0ff5d62e4;hb=c716f83b53677d5f2e6a15463408f464006eafb7;hpb=00607d510e7568c59206104f424952fa3ca0063c diff --git a/formats/ctf/callbacks.c b/formats/ctf/callbacks.c index e9dbba96..6130911f 100644 --- a/formats/ctf/callbacks.c +++ b/formats/ctf/callbacks.c @@ -83,7 +83,7 @@ int bt_ctf_iter_add_callback(struct bt_ctf_iter *iter, tin = container_of(td_read, struct ctf_trace, parent); for (stream_id = 0; stream_id < tin->streams->len; stream_id++) { - struct ctf_stream_class *stream; + struct ctf_stream_declaration *stream; struct bt_stream_callbacks *bt_stream_cb = NULL; struct bt_callback_chain *bt_chain = NULL; struct bt_callback new_callback; @@ -146,11 +146,11 @@ int bt_ctf_iter_add_callback(struct bt_ctf_iter *iter, } static -struct ctf_stream_event *extract_ctf_stream_event(struct ctf_stream *stream) +struct ctf_event_definition *extract_ctf_stream_event(struct ctf_stream *stream) { - struct ctf_stream_class *stream_class = stream->stream_class; + struct ctf_stream_declaration *stream_class = stream->stream_class; struct ctf_event *event_class; - struct ctf_stream_event *event; + struct ctf_event_definition *event; uint64_t id = stream->event_id; if (id >= stream_class->events_by_id->len) {