X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Fcommon%2Fnotif-iter%2Fnotif-iter.c;h=56bf9fff49b04e9bbc829d6f2c791840d9bd5f86;hb=5b29e7995dce9ec633e05e4272ae562bb2c980c7;hp=9c6134f9422317e8a77d82240ce1ef854bf0f588;hpb=08bfb6709dd6612a377c29bbe14e6e9bc12947f4;p=babeltrace.git diff --git a/plugins/ctf/common/notif-iter/notif-iter.c b/plugins/ctf/common/notif-iter/notif-iter.c index 9c6134f9..56bf9fff 100644 --- a/plugins/ctf/common/notif-iter/notif-iter.c +++ b/plugins/ctf/common/notif-iter/notif-iter.c @@ -579,8 +579,7 @@ enum bt_ctf_notif_iter_status set_current_stream_class(struct bt_ctf_notif_iter BT_PUT(notit->meta.stream_class); - // TODO: get by ID - notit->meta.stream_class = bt_ctf_trace_get_stream_class( + notit->meta.stream_class = bt_ctf_trace_get_stream_class_by_id( notit->meta.trace, stream_id); if (!notit->meta.stream_class) { PERR("Cannot find stream class with ID %" PRIu64 "\n",