X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=a60fc4506a9c63b42cc36300a79e08b125e69802;hb=fb83fe64f250bec7416f18891a8264450c61ead3;hp=575fbf0194f7474662053717c29a0fcef1b2339d;hpb=795d57ce3012980e16a9493f5ba8c6ac91a9d07e;p=lttng-tools.git diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index 575fbf019..a60fc4506 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -369,6 +369,14 @@ struct lttcomm_event_extended_header { uint32_t nb_exclusions; } LTTNG_PACKED; +/* + * Channel extended info. + */ +struct lttcomm_channel_extended { + uint64_t discarded_events; + uint64_t lost_packets; +} LTTNG_PACKED; + /* * Data structure for the response from sessiond to the lttng client. */ @@ -501,6 +509,14 @@ struct lttcomm_consumer_msg { uint64_t channel_key; uint64_t net_seq_idx; } LTTNG_PACKED sent_streams; + struct { + uint64_t session_id; + uint64_t channel_key; + } LTTNG_PACKED discarded_events; + struct { + uint64_t session_id; + uint64_t channel_key; + } LTTNG_PACKED lost_packets; } u; } LTTNG_PACKED;