From: Pierre-Marc Fournier Date: Mon, 18 Jan 2010 07:28:02 +0000 (-0500) Subject: Don't display debugging messages by default X-Git-Tag: v0.1~1 X-Git-Url: https://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=5a000089fda0ac1a519f79640c376ac54b6cd1c0 Don't display debugging messages by default --- diff --git a/include/usterr.h b/include/usterr.h index 1819f97..ed6d04e 100644 --- a/include/usterr.h +++ b/include/usterr.h @@ -47,7 +47,7 @@ #define ERRMSG(fmt, args...) do { sigsafe_print_err(UST_STR_COMPONENT "[%ld/%ld]: " fmt " (" __FILE__ ":" XSTR(__LINE__) ")\n", (long) getpid(), (long) syscall(SYS_gettid), ## args); fflush(stderr); } while(0) -#define DEBUG +/*#define DEBUG*/ #ifdef DEBUG # define DBG(fmt, args...) ERRMSG(fmt, ## args) #else