Support per UID buffers
[lttng-tools.git] / src / common / consumer.c
index 8730e39fbbda7db3fda89758cbd8b5f01385f9f7..29bd0c00c56d95c91a71f031697faa404a6ec7ad 100644 (file)
@@ -876,8 +876,7 @@ int consumer_add_channel(struct lttng_consumer_channel *channel,
        pthread_mutex_lock(&consumer_data.lock);
        rcu_read_lock();
 
-       lttng_ht_lookup(consumer_data.channel_ht,
-                       &channel->key, &iter);
+       lttng_ht_lookup(consumer_data.channel_ht, &channel->key, &iter);
        node = lttng_ht_iter_get_node_u64(&iter);
        if (node != NULL) {
                /* Channel already exist. Ignore the insertion */
@@ -936,7 +935,12 @@ static int update_poll_array(struct lttng_consumer_local_data *ctx,
                                stream->endpoint_status == CONSUMER_ENDPOINT_INACTIVE) {
                        continue;
                }
-               DBG("Active FD %d", stream->wait_fd);
+               /*
+                * This clobbers way too much the debug output. Uncomment that if you
+                * need it for debugging purposes.
+                *
+                * DBG("Active FD %d", stream->wait_fd);
+                */
                (*pollfd)[i].fd = stream->wait_fd;
                (*pollfd)[i].events = POLLIN | POLLPRI;
                local_stream[i] = stream;
This page took 0.023907 seconds and 5 git commands to generate.