Command metadata regenerate
[lttng-tools.git] / src / bin / lttng-sessiond / ust-registry.h
index a8466ebf58c64c9260968e77a8e0573925f9b959..34db29ea13462ec477f47ae4e8d55646f68a19b2 100644 (file)
@@ -68,6 +68,8 @@ struct ust_registry_session {
        size_t metadata_len, metadata_alloc_len;
        /* Length of bytes sent to the consumer. */
        size_t metadata_len_sent;
+       /* Current version of the metadata. */
+       uint64_t metadata_version;
 
        char root_shm_path[PATH_MAX];
        char shm_path[PATH_MAX];
@@ -96,6 +98,13 @@ struct ust_registry_session {
 
        /* Enumerations table. */
        struct lttng_ht *enums;
+
+       /*
+        * Copy of the tracer version when the first app is registered.
+        * It is used if we need to regenerate the metadata.
+        */
+       uint32_t major;
+       uint32_t minor;
 };
 
 struct ust_registry_channel {
This page took 0.023086 seconds and 4 git commands to generate.