Only print the futex perror in debug mode
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 31 Dec 2011 02:56:05 +0000 (21:56 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 31 Dec 2011 02:56:05 +0000 (21:56 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-comm.c

index c52531f53bac8626c065958458b84c7cae2725ea..b968b498acc52874b3472544691bbaef05364d48 100644 (file)
@@ -567,7 +567,8 @@ void wait_for_sessiond(struct sock_info *sock_info)
 "Please upgrade your kernel "
 "(fix is commit 9ea71503a8ed9184d2d0b8ccc4d269d05f7940ae in Linux kernel "
 "mainline). LTTng-UST will use polling mode fallback.");
-                               PERROR("futex");
+                               if (ust_debug())
+                                       PERROR("futex");
                        }
                }
        }
This page took 0.025695 seconds and 4 git commands to generate.