lib: add stream activity beginning/end messages
[babeltrace.git] / include / babeltrace / graph / message-internal.h
index 8f6158ea628d89e2650a0e8e98013d03b1b728d7..8c17ef9ea008865c46f125945c874cc0de606151 100644 (file)
@@ -39,7 +39,6 @@ typedef struct bt_stream *(*get_stream_func)(
 struct bt_message {
        struct bt_object base;
        enum bt_message_type type;
-       uint64_t seq_num;
        bt_bool frozen;
 
        /* Owned by this; keeps the graph alive while the msg. is alive */
@@ -65,7 +64,6 @@ void bt_message_reset(struct bt_message *message)
 
 #ifdef BT_DEV_MODE
        message->frozen = BT_FALSE;
-       message->seq_num = UINT64_C(-1);
 #endif
 }
 
@@ -126,6 +124,10 @@ const char *bt_message_type_string(enum bt_message_type type)
                return "BT_MESSAGE_TYPE_PACKET_BEGINNING";
        case BT_MESSAGE_TYPE_PACKET_END:
                return "BT_MESSAGE_TYPE_PACKET_END";
+       case BT_MESSAGE_TYPE_STREAM_ACTIVITY_BEGINNING:
+               return "BT_MESSAGE_TYPE_STREAM_ACTIVITY_BEGINNING";
+       case BT_MESSAGE_TYPE_STREAM_ACTIVITY_END:
+               return "BT_MESSAGE_TYPE_STREAM_ACTIVITY_END";
        default:
                return "(unknown)";
        }
This page took 0.024301 seconds and 4 git commands to generate.