Send filter expression string to session daemon
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 96106a77dee0e1a35905313d8c0d0e592b16e3bd..7ce252d591f28b609216bb1ec2d1a367051694d4 100644 (file)
@@ -232,6 +232,8 @@ struct lttcomm_session_msg {
                struct {
                        char channel_name[LTTNG_SYMBOL_NAME_LEN];
                        struct lttng_event event;
+                       /* Length of following filter expression. */
+                       uint32_t expression_len;
                        /* Length of following bytecode for filter. */
                        uint32_t bytecode_len;
                        /* exclusion data */
@@ -240,6 +242,7 @@ struct lttcomm_session_msg {
                         * After this structure, the following variable-length
                         * items are transmitted:
                         * - char exclusion_names[LTTNG_SYMBOL_NAME_LEN][exclusion_count]
+                        * - unsigned char filter_expression[expression_len]
                         * - unsigned char filter_bytecode[bytecode_len]
                         */
                } LTTNG_PACKED enable;
This page took 0.023138 seconds and 4 git commands to generate.