projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the UST event hash table match function
[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 6d796efe42e650b20683c58e74be725db4716ba0..41f96d8a4288c355d60df2655bbd04b135102f79 100644
(file)
--- a/
src/common/sessiond-comm/sessiond-comm.h
+++ b/
src/common/sessiond-comm/sessiond-comm.h
@@
-30,6
+30,7
@@
#include <lttng/lttng.h>
#include <common/compat/socket.h>
#include <common/uri.h>
#include <lttng/lttng.h>
#include <common/compat/socket.h>
#include <common/uri.h>
+#include <common/defaults.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netinet/in.h>
@@
-85,8
+86,11
@@
enum lttcomm_sessiond_command {
RELAYD_VERSION,
RELAYD_SEND_METADATA,
RELAYD_CLOSE_STREAM,
RELAYD_VERSION,
RELAYD_SEND_METADATA,
RELAYD_CLOSE_STREAM,
+ RELAYD_DATA_PENDING,
+ RELAYD_QUIESCENT_CONTROL,
LTTNG_SET_FILTER,
LTTNG_HEALTH_CHECK,
LTTNG_SET_FILTER,
LTTNG_HEALTH_CHECK,
+ LTTNG_DATA_PENDING,
};
/*
};
/*
@@
-167,12
+171,12
@@
struct lttcomm_session_msg {
struct lttng_domain domain;
union {
struct {
struct lttng_domain domain;
union {
struct {
- char channel_name[
NAME_MAX
];
+ char channel_name[
LTTNG_SYMBOL_NAME_LEN
];
char name[NAME_MAX];
} disable;
/* Event data */
struct {
char name[NAME_MAX];
} disable;
/* Event data */
struct {
- char channel_name[
NAME_MAX
];
+ char channel_name[
LTTNG_SYMBOL_NAME_LEN
];
struct lttng_event event;
} enable;
/* Create channel */
struct lttng_event event;
} enable;
/* Create channel */
@@
-181,8
+185,7
@@
struct lttcomm_session_msg {
} channel;
/* Context */
struct {
} channel;
/* Context */
struct {
- char channel_name[NAME_MAX];
- char event_name[NAME_MAX];
+ char channel_name[LTTNG_SYMBOL_NAME_LEN];
struct lttng_event_context ctx;
} context;
/* Use by register_consumer */
struct lttng_event_context ctx;
} context;
/* Use by register_consumer */
@@
-191,7
+194,7
@@
struct lttcomm_session_msg {
} reg;
/* List */
struct {
} reg;
/* List */
struct {
- char channel_name[
NAME_MAX
];
+ char channel_name[
LTTNG_SYMBOL_NAME_LEN
];
} list;
struct lttng_calibrate calibrate;
/* Used by the set_consumer_url and used by create_session also call */
} list;
struct lttng_calibrate calibrate;
/* Used by the set_consumer_url and used by create_session also call */
@@
-200,8
+203,8
@@
struct lttcomm_session_msg {
uint32_t size;
} uri;
struct {
uint32_t size;
} uri;
struct {
- char channel_name[
NAME_MAX
];
-
char event_name[NAME_MAX]
;
+ char channel_name[
LTTNG_SYMBOL_NAME_LEN
];
+
struct lttng_event event
;
/* Length of following bytecode */
uint32_t bytecode_len;
} filter;
/* Length of following bytecode */
uint32_t bytecode_len;
} filter;
@@
-218,6
+221,7
@@
struct lttcomm_session_msg {
struct lttng_filter_bytecode {
uint32_t len; /* len of data */
uint32_t reloc_table_offset;
struct lttng_filter_bytecode {
uint32_t len; /* len of data */
uint32_t reloc_table_offset;
+ uint64_t seqnum;
char data[0];
};
char data[0];
};
@@
-271,7
+275,8
@@
struct lttcomm_consumer_msg {
char path_name[PATH_MAX];
int net_index;
unsigned int metadata_flag;
char path_name[PATH_MAX];
int net_index;
unsigned int metadata_flag;
- char name[LTTNG_SYMBOL_NAME_LEN]; /* Name string of the stream */
+ char name[DEFAULT_STREAM_NAME_LEN]; /* Name string of the stream */
+ uint64_t session_id; /* Tracing session id of the stream */
} stream;
struct {
int net_index;
} stream;
struct {
int net_index;
@@
-282,6
+287,9
@@
struct lttcomm_consumer_msg {
struct {
uint64_t net_seq_idx;
} destroy_relayd;
struct {
uint64_t net_seq_idx;
} destroy_relayd;
+ struct {
+ uint64_t session_id;
+ } data_pending;
} u;
};
} u;
};
This page took
0.028255 seconds
and
4
git commands to generate.