lttng-ctl: implement listing of userspace probe locations
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 2cd66f46fc77abd46b15b94781f4f299329502c3..56c925973038f51ea571a7ee177071e20ce5cb2a 100644 (file)
@@ -261,13 +261,15 @@ struct lttcomm_session_msg {
                        uint32_t expression_len;
                        /* Length of following bytecode for filter. */
                        uint32_t bytecode_len;
-                       /* exclusion data */
+                       /* Exclusion count (fixed-size strings). */
                        uint32_t exclusion_count;
+                       /* Userspace probe location size. */
+                       uint32_t userspace_probe_location_len;
                        /*
                         * 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]
+                        * - char filter_expression[expression_len]
                         * - unsigned char filter_bytecode[bytecode_len]
                         */
                } LTTNG_PACKED enable;
@@ -408,6 +410,11 @@ struct lttcomm_event_extended_header {
         * character.
         */
        uint32_t nb_exclusions;
+
+       /*
+        * Size of the event's userspace probe location (if applicable).
+        */
+       uint32_t userspace_probe_location_len;
 } LTTNG_PACKED;
 
 /*
This page took 0.026238 seconds and 5 git commands to generate.