sink.text.pretty: print discarded events/packets warning
[babeltrace.git] / plugins / text / pretty / pretty.c
index 0caf05bde6e5eb0ec7e095afbc79480c58b96902..154fa255796b4cffd9d64cb16eae992264078342 100644 (file)
@@ -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;
        }
This page took 0.03541 seconds and 4 git commands to generate.