X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Ftext%2Fpretty%2Fpretty.c;h=154fa255796b4cffd9d64cb16eae992264078342;hb=0f6bea4ef916464f2d2a0a597c28a6701ac51762;hp=0caf05bde6e5eb0ec7e095afbc79480c58b96902;hpb=bf55043c2e742cafb86d3a3404d0d35c4cf294a3;p=babeltrace.git diff --git a/plugins/text/pretty/pretty.c b/plugins/text/pretty/pretty.c index 0caf05bd..154fa255 100644 --- a/plugins/text/pretty/pretty.c +++ b/plugins/text/pretty/pretty.c @@ -134,16 +134,15 @@ enum bt_component_status handle_notification(struct pretty_component *pretty, BT_ASSERT(pretty); switch (bt_notification_get_type(notification)) { + case BT_NOTIFICATION_TYPE_PACKET_BEGIN: + ret = pretty_print_packet(pretty, notification); + break; case BT_NOTIFICATION_TYPE_EVENT: ret = pretty_print_event(pretty, notification); break; case BT_NOTIFICATION_TYPE_INACTIVITY: fprintf(stderr, "Inactivity notification\n"); break; - case BT_NOTIFICATION_TYPE_DISCARDED_PACKETS: - case BT_NOTIFICATION_TYPE_DISCARDED_EVENTS: - ret = pretty_print_discarded_elements(pretty, notification); - break; default: break; }