X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fagent.h;h=e8d182515888cd0273ec8622eb8f47861ec8fc90;hb=a0ba721c2d0dd5eccf94bf210a85dcd255385c59;hp=4fbe3db7a34f25695388498fa687876e7187b74e;hpb=2106efa08d11229241a114d1d71635a02006690e;p=lttng-tools.git diff --git a/src/common/sessiond-comm/agent.h b/src/common/sessiond-comm/agent.h index 4fbe3db7a..e8d182515 100644 --- a/src/common/sessiond-comm/agent.h +++ b/src/common/sessiond-comm/agent.h @@ -18,7 +18,6 @@ #ifndef AGENT_COMM #define AGENT_COMM -#define _GNU_SOURCE #include #include @@ -56,12 +55,14 @@ struct lttcomm_agent_hdr { } LTTNG_PACKED; /* - * Enable event command payload. + * Enable event command payload. Will be immediately followed by the + * variable-length string representing the filter expression. */ struct lttcomm_agent_enable { uint32_t loglevel_value; uint32_t loglevel_type; char name[LTTNG_SYMBOL_NAME_LEN]; + uint32_t filter_expression_length; } LTTNG_PACKED; /*