projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng-ctl: Expose sessiond cmd_clear_session command
[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..cbb79821d5f42b917c2195c48e283c36eda2bef6 100644
(file)
--- a/
src/common/sessiond-comm/sessiond-comm.h
+++ b/
src/common/sessiond-comm/sessiond-comm.h
@@
-35,7
+35,7
@@
#include <common/compat/socket.h>
#include <common/uri.h>
#include <common/defaults.h>
#include <common/compat/socket.h>
#include <common/uri.h>
#include <common/defaults.h>
-#include <common/
compat/
uuid.h>
+#include <common/uuid.h>
#include <common/macros.h>
#include <common/optional.h>
#include <common/macros.h>
#include <common/optional.h>
@@
-107,7
+107,8
@@
enum lttcomm_sessiond_command {
LTTNG_ROTATION_GET_INFO = 46,
LTTNG_ROTATION_SET_SCHEDULE = 47,
LTTNG_SESSION_LIST_ROTATION_SCHEDULES = 48,
LTTNG_ROTATION_GET_INFO = 46,
LTTNG_ROTATION_SET_SCHEDULE = 47,
LTTNG_SESSION_LIST_ROTATION_SCHEDULES = 48,
- LTTNG_CREATE_SESSION_EXT = 49
+ LTTNG_CREATE_SESSION_EXT = 49,
+ LTTNG_CLEAR_SESSION = 50,
};
enum lttcomm_relayd_command {
};
enum lttcomm_relayd_command {
@@
-543,7
+544,7
@@
struct lttcomm_consumer_msg {
uint64_t key; /* Unique channel key. */
/* ID of the session's current trace chunk. */
LTTNG_OPTIONAL_COMM(uint64_t) LTTNG_PACKED chunk_id;
uint64_t key; /* Unique channel key. */
/* ID of the session's current trace chunk. */
LTTNG_OPTIONAL_COMM(uint64_t) LTTNG_PACKED chunk_id;
- unsigned char uuid[
UUID_LEN];
/* uuid for ust tracer. */
+ unsigned char uuid[
LTTNG_UUID_LEN];
/* uuid for ust tracer. */
uint32_t chan_id; /* Channel ID on the tracer side. */
uint64_t tracefile_size; /* bytes */
uint32_t tracefile_count; /* number of tracefiles */
uint32_t chan_id; /* Channel ID on the tracer side. */
uint64_t tracefile_size; /* bytes */
uint32_t tracefile_count; /* number of tracefiles */
@@
-693,14
+694,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.024573 seconds
and
4
git commands to generate.