Trimmer must properly end packets and streams before returning
END_OF_TRACE.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
}
if (end->set && ts > end->value) {
in_range = false;
}
if (end->set && ts > end->value) {
in_range = false;
- ret = BT_NOTIFICATION_ITERATOR_STATUS_END;
enum bt_notification_iterator_status ret =
BT_NOTIFICATION_ITERATOR_STATUS_OK;
enum bt_notification_iterator_status ret =
BT_NOTIFICATION_ITERATOR_STATUS_OK;
type = bt_notification_get_type(notification);
switch (type) {
case BT_NOTIFICATION_TYPE_EVENT:
type = bt_notification_get_type(notification);
switch (type) {
case BT_NOTIFICATION_TYPE_EVENT: