X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0bf95fe1cd58b85aa7bbcf61a76fb07e481d51c4..4c506a1e81412766b68c4a2ab989790562ec1ff0:/src/instr/interface.c diff --git a/src/instr/interface.c b/src/instr/interface.c index 55024ba33e..64a2445aa3 100644 --- a/src/instr/interface.c +++ b/src/instr/interface.c @@ -17,7 +17,6 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(tracing,"Tracing Interface"); -extern xbt_dict_t created_containers; /* declared in general.c */ static xbt_dict_t defined_types; static xbt_dict_t created_categories; @@ -104,7 +103,6 @@ int TRACE_start_with_mask(const char *filename, int mask) { if (IS_TRACING_PLATFORM) pajeCreateContainer(MSG_get_clock(), "platform", "PLATFORM", "0", "simgrid-platform"); - created_containers = xbt_dict_new(); defined_types = xbt_dict_new(); created_categories = xbt_dict_new(); __TRACE_msg_init(); @@ -160,7 +158,7 @@ void TRACE_define_type (const char *type, int TRACE_create_category (const char *category, const char *type, const char *parent_category) { - if (!IS_TRACING) return; + if (!IS_TRACING) return 1; //check if type is defined if (!xbt_dict_get_or_null (defined_types, type)) {