Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] replace IS_TRACING by TRACE_is_active() function
[simgrid.git] / src / smpi / smpi_pmpi.c
index 23e4796..48d4f07 100644 (file)
@@ -18,7 +18,7 @@ int TRACE_smpi_set_category(const char *category)
   //need to end bench otherwise categories for execution tasks are wrong
   smpi_bench_end();
   int ret;
-  if (!IS_TRACING){
+  if (!TRACE_is_enabled()){
     ret = 1;
   }else{
     if (category != NULL) {