X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=a60fc4506a9c63b42cc36300a79e08b125e69802;hb=a31c9f22fe299ccc0a5297310cccc5c9f188a4e9;hp=c38ed37458c8899edea5ee4a0fe6b486c75a53df;hpb=b4e3ceb9d379829bc5d6ec799f83086317aeafd8;p=lttng-tools.git diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index c38ed3745..a60fc4506 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -359,6 +359,22 @@ struct lttcomm_event_extended_header { * This size includes the terminal null character. */ uint32_t filter_len; + + /* + * Number of exclusion names, immediately following the filter + * string. Each exclusion name has a fixed length of + * LTTNG_SYMBOL_NAME_LEN bytes, including the terminal null + * character. + */ + uint32_t nb_exclusions; +} LTTNG_PACKED; + +/* + * Channel extended info. + */ +struct lttcomm_channel_extended { + uint64_t discarded_events; + uint64_t lost_packets; } LTTNG_PACKED; /* @@ -493,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;