projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build fix: POD static_assert check fails on lttng_event_exclusions
[lttng-tools.git]
/
src
/
common
/
sessiond-comm
/
agent.hpp
diff --git
a/src/common/sessiond-comm/agent.hpp
b/src/common/sessiond-comm/agent.hpp
index 9fcb1f34956be67f4a5329e4a8c5cd9d2158a10f..65d379ec06cde75c6d39545e743572c0a7a0c375 100644
(file)
--- a/
src/common/sessiond-comm/agent.hpp
+++ b/
src/common/sessiond-comm/agent.hpp
@@
-11,6
+11,7
@@
#include <stdint.h>
#include <stdint.h>
+#include <common/compiler.hpp>
#include <common/macros.hpp>
#include <lttng/lttng.h>
#include <common/macros.hpp>
#include <lttng/lttng.h>
@@
-87,7
+88,7
@@
struct lttcomm_agent_list_reply_hdr {
struct lttcomm_agent_list_reply {
uint32_t nb_event;
/* List of event name each of them ending by a NULL byte. */
struct lttcomm_agent_list_reply {
uint32_t nb_event;
/* List of event name each of them ending by a NULL byte. */
- char payload[];
+ char payload[
LTTNG_FLEXIBLE_ARRAY_MEMBER_LENGTH
];
} LTTNG_PACKED;
#endif /* AGENT_COMM */
} LTTNG_PACKED;
#endif /* AGENT_COMM */
This page took
0.024023 seconds
and
4
git commands to generate.