projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
consumerd: tag metadata channel as being part of a live session
[lttng-tools.git]
/
src
/
common
/
sessiond-comm
/
sessiond-comm.h
diff --git
a/src/common/sessiond-comm/sessiond-comm.h
b/src/common/sessiond-comm/sessiond-comm.h
index 6fc65a103167b8a5db13fa99dcc24b1820906fb9..cfffa157f3d9bc953ad4c6a45ccd91ef34317745 100644
(file)
--- a/
src/common/sessiond-comm/sessiond-comm.h
+++ b/
src/common/sessiond-comm/sessiond-comm.h
@@
-495,6
+495,8
@@
struct lttcomm_consumer_msg {
uint32_t monitor;
/* timer to check the streams usage in live mode (usec). */
unsigned int live_timer_interval;
uint32_t monitor;
/* timer to check the streams usage in live mode (usec). */
unsigned int live_timer_interval;
+ /* is part of a live session */
+ uint8_t is_live;
/* timer to sample a channel's positions (usec). */
unsigned int monitor_timer_interval;
} LTTNG_PACKED channel; /* Only used by Kernel. */
/* timer to sample a channel's positions (usec). */
unsigned int monitor_timer_interval;
} LTTNG_PACKED channel; /* Only used by Kernel. */
@@
-528,6
+530,7
@@
struct lttcomm_consumer_msg {
uint32_t switch_timer_interval; /* usec */
uint32_t read_timer_interval; /* usec */
unsigned int live_timer_interval; /* usec */
uint32_t switch_timer_interval; /* usec */
uint32_t read_timer_interval; /* usec */
unsigned int live_timer_interval; /* usec */
+ uint8_t is_live; /* is part of a live session */
uint32_t monitor_timer_interval; /* usec */
int32_t output; /* splice, mmap */
int32_t type; /* metadata or per_cpu */
uint32_t monitor_timer_interval; /* usec */
int32_t output; /* splice, mmap */
int32_t type; /* metadata or per_cpu */
@@
-693,14
+696,14
@@
struct lttcomm_consumer_status_channel {
unsigned int stream_count;
} LTTNG_PACKED;
unsigned int stream_count;
} LTTNG_PACKED;
-#ifdef HAVE_LIBLTTNG_UST_CTL
-
struct lttcomm_consumer_close_trace_chunk_reply {
enum lttcomm_return_code ret_code;
uint32_t path_length;
char path[];
};
struct lttcomm_consumer_close_trace_chunk_reply {
enum lttcomm_return_code ret_code;
uint32_t path_length;
char path[];
};
+#ifdef HAVE_LIBLTTNG_UST_CTL
+
#include <lttng/ust-abi.h>
/*
#include <lttng/ust-abi.h>
/*
This page took
0.026184 seconds
and
4
git commands to generate.