projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: relayd: create_index_file error handling
[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 d5009740e45da8ad96263226d4db80929f0fed25..9e757f1fdb466a6102fbd5d389706cf53ac5e01c 100644
(file)
--- a/
src/common/sessiond-comm/sessiond-comm.h
+++ b/
src/common/sessiond-comm/sessiond-comm.h
@@
-131,10
+131,14
@@
enum lttcomm_relayd_command {
RELAYD_STREAMS_SENT = 16,
/* Ask the relay to reset the metadata trace file (2.8+) */
RELAYD_RESET_METADATA = 17,
RELAYD_STREAMS_SENT = 16,
/* Ask the relay to reset the metadata trace file (2.8+) */
RELAYD_RESET_METADATA = 17,
- /* Ask the relay to rotate a s
tream file
(2.11+) */
- RELAYD_ROTATE_STREAM = 18,
+ /* Ask the relay to rotate a s
et of stream files
(2.11+) */
+ RELAYD_ROTATE_STREAM
S
= 18,
/* Ask the relay to create a trace chunk (2.11+) */
RELAYD_CREATE_TRACE_CHUNK = 19,
/* Ask the relay to create a trace chunk (2.11+) */
RELAYD_CREATE_TRACE_CHUNK = 19,
+ /* Ask the relay to close a trace chunk (2.11+) */
+ RELAYD_CLOSE_TRACE_CHUNK = 20,
+ /* Ask the relay whether a trace chunk exists (2.11+) */
+ RELAYD_TRACE_CHUNK_EXISTS = 21,
};
/*
};
/*
@@
-628,7
+632,7
@@
struct lttcomm_consumer_msg {
* (relayd_id unset).
*
* `override_name` is left NULL (all-zeroes) if the
* (relayd_id unset).
*
* `override_name` is left NULL (all-zeroes) if the
- * chunk's name is not overriden.
+ * chunk's name is not overrid
d
en.
*/
LTTNG_OPTIONAL_COMM(uint64_t) LTTNG_PACKED relayd_id;
char override_name[LTTNG_NAME_MAX];
*/
LTTNG_OPTIONAL_COMM(uint64_t) LTTNG_PACKED relayd_id;
char override_name[LTTNG_NAME_MAX];
@@
-645,6
+649,8
@@
struct lttcomm_consumer_msg {
uint64_t session_id;
uint64_t chunk_id;
uint64_t close_timestamp;
uint64_t session_id;
uint64_t chunk_id;
uint64_t close_timestamp;
+ /* enum lttng_trace_chunk_command_type */
+ LTTNG_OPTIONAL_COMM(uint32_t) LTTNG_PACKED close_command;
} LTTNG_PACKED close_trace_chunk;
struct {
LTTNG_OPTIONAL_COMM(uint64_t) LTTNG_PACKED relayd_id;
} LTTNG_PACKED close_trace_chunk;
struct {
LTTNG_OPTIONAL_COMM(uint64_t) LTTNG_PACKED relayd_id;
This page took
0.026345 seconds
and
4
git commands to generate.