X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=07c3ff1f5249146d311df90b44664a38b36d16c8;hp=07c645cc77c93ec021b503ae39eb030a96015a06;hb=2bba9e532ca1910822005ff7f67400a2e871467c;hpb=6dc3064a30b0cc7cfa9fdd22da1963525dfb7388 diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index 07c645cc7..07c3ff1f5 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -319,6 +319,8 @@ struct lttcomm_consumer_msg { int type; /* Per cpu or metadata. */ uint64_t tracefile_size; /* bytes */ uint32_t tracefile_count; /* number of tracefiles */ + /* If the channel's streams have to be monitored or not. */ + uint32_t monitor; } LTTNG_PACKED channel; /* Only used by Kernel. */ struct { uint64_t stream_key; @@ -360,6 +362,8 @@ struct lttcomm_consumer_msg { uint32_t chan_id; /* Channel ID on the tracer side. */ uint64_t tracefile_size; /* bytes */ uint32_t tracefile_count; /* number of tracefiles */ + /* Tells the consumer if the stream should be or not monitored. */ + uint32_t monitor; } LTTNG_PACKED ask_channel; struct { uint64_t key;