Add the filter expression to the enable_event agent protocol message
[lttng-tools.git] / src / common / sessiond-comm / agent.h
index f3564550b746b47d4c00954545f86a4df7f70e20..e8d182515888cd0273ec8622eb8f47861ec8fc90 100644 (file)
@@ -55,12 +55,14 @@ struct lttcomm_agent_hdr {
 } LTTNG_PACKED;
 
 /*
 } 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];
  */
 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;
 
 /*
 } LTTNG_PACKED;
 
 /*
This page took 0.023148 seconds and 4 git commands to generate.