| 1 | /* |
| 2 | * SPDX-License-Identifier: MIT |
| 3 | * |
| 4 | * Copyright 2019 Philippe Proulx <pproulx@efficios.com> |
| 5 | */ |
| 6 | |
| 7 | #ifndef BABELTRACE_LIB_GRAPH_MESSAGE_DISCARDED_ITEMS_H |
| 8 | #define BABELTRACE_LIB_GRAPH_MESSAGE_DISCARDED_ITEMS_H |
| 9 | |
| 10 | #include <glib.h> |
| 11 | #include "lib/trace-ir/clock-snapshot.h" |
| 12 | #include "lib/trace-ir/stream.h" |
| 13 | #include "lib/property.h" |
| 14 | #include <babeltrace2/graph/message.h> |
| 15 | |
| 16 | #include "message.h" |
| 17 | |
| 18 | struct bt_message_discarded_items { |
| 19 | struct bt_message parent; |
| 20 | struct bt_stream *stream; |
| 21 | struct bt_clock_snapshot *default_begin_cs; |
| 22 | struct bt_clock_snapshot *default_end_cs; |
| 23 | struct bt_property_uint count; |
| 24 | }; |
| 25 | |
| 26 | #endif /* BABELTRACE_LIB_GRAPH_MESSAGE_DISCARDED_ITEMS_H */ |