uint8_t is_live;
/* timer to sample a channel's positions (usec). */
unsigned int monitor_timer_interval;
+ int trace_format;
} LTTNG_PACKED channel; /* Only used by Kernel. */
struct {
uint64_t stream_key;
int64_t blocking_timeout;
char root_shm_path[PATH_MAX];
char shm_path[PATH_MAX];
+ int trace_format;
} LTTNG_PACKED ask_channel;
struct {
uint64_t key;
uint64_t chunk_id;
} LTTNG_PACKED trace_chunk_exists;
struct {
- lttng_uuid sessiond_uuid;
+ uint8_t sessiond_uuid[LTTNG_UUID_LEN];
} LTTNG_PACKED init;
struct {
uint64_t key;
struct lttcomm_consumer_channel_monitor_msg {
/* Key of the sampled channel. */
uint64_t key;
+ /* Id of the sampled channel's session. */
+ uint64_t session_id;
/*
* Lowest and highest usage (bytes) at the moment the sample was taken.
*/
/*
* Sum of all the consumed positions for a channel.
*/
- uint64_t total_consumed;
+ uint64_t consumed_since_last_sample;
} LTTNG_PACKED;
/*