X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fstream.h;h=4dd2e627e773bc27878394a1e1a56a30ca5f1885;hb=fe5b36ea157526c6a118c31b77f18eff48f46feb;hp=c6bdb307ebb39682c4a705cf71c3612d7a2b7ae3;hpb=2a174661a1e0ab551b41ff1cae7191688525fc1f;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/stream.h b/src/bin/lttng-relayd/stream.h index c6bdb307e..4dd2e627e 100644 --- a/src/bin/lttng-relayd/stream.h +++ b/src/bin/lttng-relayd/stream.h @@ -76,6 +76,16 @@ struct relay_stream { * timestamp end, when it is active, this field == -1ULL. */ uint64_t beacon_ts_end; + /* + * Number of indexes that are supposed to be complete soon. + * Avoid sending the inactivity beacon to the client when data is in + * transit. + */ + int indexes_in_flight; + /* + * CTF stream ID, -1ULL when unset. + */ + uint64_t ctf_stream_id; /* * To protect the update of the close_write_flag and the checks of * the tracefile_count_current.