projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Major changes of command processing for sessiond
[lttng-tools.git]
/
liblttsessiondcomm
/
liblttsessiondcomm.h
diff --git
a/liblttsessiondcomm/liblttsessiondcomm.h
b/liblttsessiondcomm/liblttsessiondcomm.h
index a1960a94018f95178765ed922118a46c0431756c..4a7fdfcc48155e44c9937dd471649e38bbec5e3e 100644
(file)
--- a/
liblttsessiondcomm/liblttsessiondcomm.h
+++ b/
liblttsessiondcomm/liblttsessiondcomm.h
@@
-115,7
+115,7
@@
enum lttcomm_kconsumerd_fd_state {
*/
struct lttcomm_session_msg {
u32 cmd_type; /* enum lttcomm_sessiond_command */
*/
struct lttcomm_session_msg {
u32 cmd_type; /* enum lttcomm_sessiond_command */
- uuid_t session_id;
+ uuid_t session_
uu
id;
char trace_name[NAME_MAX];
char session_name[NAME_MAX];
u32 pid; /* pid_t */
char trace_name[NAME_MAX];
char session_name[NAME_MAX];
u32 pid; /* pid_t */
@@
-148,13
+148,15
@@
struct lttcomm_session_msg {
/*
* Data structure for the response from sessiond to the lttng client.
*/
/*
* Data structure for the response from sessiond to the lttng client.
*/
-struct lttcomm_lttng_
header
{
+struct lttcomm_lttng_
msg
{
u32 cmd_type; /* enum lttcomm_sessiond_command */
u32 ret_code; /* enum lttcomm_return_code */
u32 pid; /* pid_t */
u32 cmd_type; /* enum lttcomm_sessiond_command */
u32 ret_code; /* enum lttcomm_return_code */
u32 pid; /* pid_t */
- u32 payload_size;
- uuid_t session_id;
- char trace_name[NAME_MAX];
+ u32 trace_name_offset;
+ u32 data_size;
+ uuid_t session_uuid;
+ /* Contains: trace_name + data */
+ char payload[];
};
/*
};
/*
This page took
0.023232 seconds
and
4
git commands to generate.