projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: liblttng-ctl comm: lttng_channel is not packed
[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 adb179675cad881f239a30fff00ed0627c993a70..318753d978240142ed9fadc08238df99dd44c19c 100644
(file)
--- a/
src/common/sessiond-comm/sessiond-comm.h
+++ b/
src/common/sessiond-comm/sessiond-comm.h
@@
-461,8
+461,7
@@
struct lttcomm_session_msg {
} LTTNG_PACKED disable;
/* Create channel */
struct {
} LTTNG_PACKED disable;
/* Create channel */
struct {
- struct lttng_channel chan;
- struct lttng_channel_extended extended;
+ uint32_t length;
} LTTNG_PACKED channel;
/* Context */
struct {
} LTTNG_PACKED channel;
/* Context */
struct {
@@
-608,6
+607,14
@@
struct lttcomm_event_command_header {
uint32_t nb_events;
} LTTNG_PACKED;
uint32_t nb_events;
} LTTNG_PACKED;
+/*
+ * Listing command header.
+ */
+struct lttcomm_list_command_header {
+ /* Number of elements */
+ uint32_t count;
+} LTTNG_PACKED;
+
/*
* Event extended info header. This is the structure preceding each
* extended info data.
/*
* Event extended info header. This is the structure preceding each
* extended info data.
This page took
0.024181 seconds
and
4
git commands to generate.