Fix: change ERR statement to DBG in kernel read subbuffer
authorDavid Goulet <dgoulet@efficios.com>
Thu, 13 Feb 2014 15:55:47 +0000 (10:55 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 13 Feb 2014 15:55:47 +0000 (10:55 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/kernel-consumer/kernel-consumer.c

index 0b793c9032e484cc55ae3c3f4b9372c07ffdc35c..061123d61160d32016249aa9856b8f0e4a43b5c6 100644 (file)
@@ -1154,9 +1154,10 @@ ssize_t lttng_kconsumer_read_subbuffer(struct lttng_consumer_stream *stream,
                                (ret != len && stream->net_seq_idx == (uint64_t) -1ULL)) {
                        /*
                         * Display the error but continue processing to try to release the
-                        * subbuffer
+                        * subbuffer. This is a DBG statement since this is possible to
+                        * happen without being a critical error.
                         */
-                       ERR("Error writing to tracefile "
+                       DBG("Error writing to tracefile "
                                        "(ret: %zd != len: %lu != subbuf_size: %lu)",
                                        ret, len, subbuf_size);
                        write_index = 0;
This page took 0.02619 seconds and 4 git commands to generate.