shm-path: remove directory hierarchy on destroy
[lttng-tools.git] / src / bin / lttng-sessiond / ust-registry.h
index a22009efa996263cf9a17b2fe08941b5a088f92a..91a0534e9a8cbde5084878d45125da310589644a 100644 (file)
@@ -67,6 +67,7 @@ struct ust_registry_session {
        /* Length of bytes sent to the consumer. */
        size_t metadata_len_sent;
 
+       char root_shm_path[PATH_MAX];
        char shm_path[PATH_MAX];
        char metadata_path[PATH_MAX];
        int metadata_fd;        /* file-backed metadata FD */
@@ -231,6 +232,7 @@ int ust_registry_session_init(struct ust_registry_session **sessionp,
                int byte_order,
                uint32_t major,
                uint32_t minor,
+               const char *root_shm_path,
                const char *shm_path,
                uid_t euid,
                gid_t egid);
This page took 0.0236 seconds and 4 git commands to generate.