when tracing disabled, disable tracing-commthread too
authorGengbin Zheng <gzheng@illinois.edu>
Sun, 4 Mar 2012 00:45:59 +0000 (18:45 -0600)
committerGengbin Zheng <gzheng@illinois.edu>
Sun, 4 Mar 2012 00:45:59 +0000 (18:45 -0600)
src/conv-core/conv-config.h

index a14efd911205566360cafc24634b96a9f7c36099..e5cf2afc08fed67d1ef9badd910a32bf752d6974 100644 (file)
 #endif
 
 /* sanity checks */
+#if ! CMK_TRACE_ENABLED
+#define CMK_SMP_TRACE_COMMTHREAD                               0
+#endif
+
 #if CMK_SMP_TRACE_COMMTHREAD && ! CMK_SMP
 #undef CMK_SMP_TRACE_COMMTHREAD
 #define CMK_SMP_TRACE_COMMTHREAD                               0