- if (bt_notification_get_type(*notification) == BT_NOTIFICATION_TYPE_PACKET_END) {
- lttng_live_stream->packet_end_notif_queue = *notification;
- *notification = NULL;
- return emit_inactivity_notification(lttng_live,
- lttng_live_stream, notification,
+ if (bt_message_get_type(*message) == BT_MESSAGE_TYPE_PACKET_END) {
+ lttng_live_stream->packet_end_msg_queue = *message;
+ *message = NULL;
+ return emit_inactivity_message(lttng_live,
+ lttng_live_stream, message,