shm-path: remove directory hierarchy on destroy
[lttng-tools.git] / src / common / consumer.h
index a80bc40ab9128e8ae3c5987bd4c8870736cc35bb..7f885370e33127448edcc3cf623346d3ce1642f9 100644 (file)
@@ -207,6 +207,7 @@ struct lttng_consumer_channel {
        /* Timer value in usec for live streaming. */
        unsigned int live_timer_interval;
 
+       char root_shm_path[PATH_MAX];
        char shm_path[PATH_MAX];
 };
 
@@ -602,6 +603,7 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
                uint64_t session_id_per_pid,
                unsigned int monitor,
                unsigned int live_timer_interval,
+               const char *root_shm_path,
                const char *shm_path);
 void consumer_del_stream(struct lttng_consumer_stream *stream,
                struct lttng_ht *ht);
This page took 0.023485 seconds and 4 git commands to generate.