projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng.h API update: set filter becomes enable event with filter
[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 5884fb8423006c3b1ad2474d2689625b5e6b7018..991cf7017eeb4c85e43c0f294e9e538387765158 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,11
+86,11
@@
enum lttcomm_sessiond_command {
RELAYD_VERSION,
RELAYD_SEND_METADATA,
RELAYD_CLOSE_STREAM,
RELAYD_VERSION,
RELAYD_SEND_METADATA,
RELAYD_CLOSE_STREAM,
- RELAYD_DATA_
AVAILABLE
,
+ RELAYD_DATA_
PENDING
,
RELAYD_QUIESCENT_CONTROL,
RELAYD_QUIESCENT_CONTROL,
- LTTNG_
SET
_FILTER,
+ LTTNG_
ENABLE_EVENT_WITH
_FILTER,
LTTNG_HEALTH_CHECK,
LTTNG_HEALTH_CHECK,
- LTTNG_DATA_
AVAILABLE
,
+ LTTNG_DATA_
PENDING
,
};
/*
};
/*
@@
-177,6
+178,8
@@
struct lttcomm_session_msg {
struct {
char channel_name[LTTNG_SYMBOL_NAME_LEN];
struct lttng_event event;
struct {
char channel_name[LTTNG_SYMBOL_NAME_LEN];
struct lttng_event event;
+ /* Length of following bytecode for filter. */
+ uint32_t bytecode_len;
} enable;
/* Create channel */
struct {
} enable;
/* Create channel */
struct {
@@
-185,7
+188,6
@@
struct lttcomm_session_msg {
/* Context */
struct {
char channel_name[LTTNG_SYMBOL_NAME_LEN];
/* Context */
struct {
char channel_name[LTTNG_SYMBOL_NAME_LEN];
- char event_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 */
@@
-202,12
+204,6
@@
struct lttcomm_session_msg {
/* Number of lttng_uri following */
uint32_t size;
} uri;
/* Number of lttng_uri following */
uint32_t size;
} uri;
- struct {
- char channel_name[LTTNG_SYMBOL_NAME_LEN];
- char event_name[LTTNG_SYMBOL_NAME_LEN];
- /* Length of following bytecode */
- uint32_t bytecode_len;
- } filter;
} u;
};
} u;
};
@@
-221,6
+217,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];
};
@@
-274,7
+271,7
@@
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 {
uint64_t session_id; /* Tracing session id of the stream */
} stream;
struct {
@@
-288,7
+285,7
@@
struct lttcomm_consumer_msg {
} destroy_relayd;
struct {
uint64_t session_id;
} destroy_relayd;
struct {
uint64_t session_id;
- } data_
available
;
+ } data_
pending
;
} u;
};
} u;
};
This page took
0.02596 seconds
and
4
git commands to generate.