Fix: remove use of stat()
[lttng-tools.git] / src / common / consumer.h
index 91039e8e956563c3f99d3de6f9cd0ca7dbb98251..bf87609f3f1aea428128895cdab7ba20cf1f8568 100644 (file)
@@ -222,6 +222,7 @@ struct lttng_consumer_stream {
         * Lock to use the stream FDs since they are used between threads.
         *
         * This is nested INSIDE the consumer_data lock.
+        * This is nested INSIDE the metadata cache lock.
         * This is nested OUTSIDE consumer_relayd_sock_pair lock.
         */
        pthread_mutex_t lock;
@@ -351,7 +352,7 @@ struct lttng_consumer_local_data {
        /* to let the signal handler wake up the fd receiver thread */
        int consumer_should_quit[2];
        /* Metadata poll thread pipe. Transfer metadata stream to it */
-       int consumer_metadata_pipe[2];
+       struct lttng_pipe *consumer_metadata_pipe;
 };
 
 /*
This page took 0.023467 seconds and 4 git commands to generate.