X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39b9e5b7c5a9642f2cf286a8b1a4e5a089741242..a81bbe9d6d298459a0dacbdb558ddaef3febf538:/src/instr/instr_interface.c diff --git a/src/instr/instr_interface.c b/src/instr/instr_interface.c index ead66bb75f..33d2803785 100644 --- a/src/instr/instr_interface.c +++ b/src/instr/instr_interface.c @@ -111,10 +111,10 @@ int TRACE_create_category_with_color(const char *category, /* for registering application categories on top of platform */ snprintf(state, 100, "b%s", category); - if (TRACE_platform_is_enabled()) + if (TRACE_categorized ()) pajeDefineVariableTypeWithColor(state, "LINK", state, final_color); snprintf(state, 100, "p%s", category); - if (TRACE_platform_is_enabled()) + if (TRACE_categorized ()) pajeDefineVariableTypeWithColor(state, "HOST", state, final_color); val_one = xbt_strdup("1");