X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Ftext%2Fpretty%2Fpretty.c;h=043ba4fc5d265a5123a269fdedc6a81b0fc4a9cb;hb=fa054faf3a18fd8003510c32718c1fd4fbf3dd46;hp=cea5fe688f080511e9b5c63903f020864380f86c;hpb=dc77b5215ef41c67486cf32bce85bfde0b415952;p=babeltrace.git diff --git a/plugins/text/pretty/pretty.c b/plugins/text/pretty/pretty.c index cea5fe68..043ba4fc 100644 --- a/plugins/text/pretty/pretty.c +++ b/plugins/text/pretty/pretty.c @@ -145,6 +145,10 @@ void pretty_port_connected( { struct bt_private_connection *connection; struct pretty_component *pretty; + static const enum bt_notification_type notif_types[] = { + BT_NOTIFICATION_TYPE_EVENT, + BT_NOTIFICATION_TYPE_SENTINEL, + }; pretty = bt_private_component_get_user_data(component); assert(pretty); @@ -152,7 +156,8 @@ void pretty_port_connected( connection = bt_private_port_get_private_connection(self_port); assert(connection); pretty->input_iterator = - bt_private_connection_create_notification_iterator(connection); + bt_private_connection_create_notification_iterator(connection, + notif_types); if (!pretty->input_iterator) { pretty->error = true;