Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] msg process and tasks tracing also needs platform
authorLucas Schnorr <Lucas.Schnorr@imag.fr>
Thu, 28 Apr 2011 15:19:38 +0000 (17:19 +0200)
committerLucas Schnorr <Lucas.Schnorr@inf.ufrgs.br>
Tue, 24 May 2011 12:42:25 +0000 (14:42 +0200)
src/instr/instr_config.c

index de6321c..a82ba46 100644 (file)
@@ -130,7 +130,9 @@ int TRACE_is_active (void)
 
 int TRACE_needs_platform (void)
 {
-  return TRACE_categorized() ||
+  return TRACE_msg_process_is_enabled() ||
+         TRACE_msg_task_is_enabled() ||
+         TRACE_categorized() ||
          TRACE_uncategorized() ||
          (TRACE_smpi_is_enabled() && TRACE_smpi_is_grouped());
 }