From: Mathieu Desnoyers Date: Fri, 16 Dec 2011 16:55:42 +0000 (-0500) Subject: Only show futex warning "perror" in debug mode X-Git-Tag: v1.9.3~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1cb5dd98436f121126596a31368b50f938b1fc16;p=lttng-ust.git Only show futex warning "perror" in debug mode Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 15987740..5c4e4e76 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -567,8 +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"); } - PERROR("futex"); } } return;