X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/528fa2ce6be027b5428d122666ffc37706155449..07ca769febaaa13ced53a1f20f59fa7f3a273720:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 23482c3fb0..0f076b4627 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -15,15 +15,16 @@ #include "src/xbt_modinter.h" -#include "xbt/misc.h" +#include "src/xbt/log_private.h" +#include "xbt/asserts.h" +#include "xbt/dynar.h" #include "xbt/ex.h" +#include "xbt/misc.h" #include "xbt/str.h" #include "xbt/sysdep.h" -#include "src/xbt/log_private.h" -#include "xbt/dynar.h" #include "xbt/xbt_os_thread.h" -int xbt_log_no_loc = 0; /* if set to true (with --log=no_loc), file localization will be omitted (for tesh tests) */ +int xbt_log_no_loc = 0; /* if set to true (with --log=no_loc), file localization will be omitted (for tesh tests) */ static xbt_os_mutex_t log_cat_init_mutex = NULL; /** \addtogroup XBT_log @@ -107,12 +108,14 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(xbt_dyn); XBT_LOG_CONNECT(xbt_ex); XBT_LOG_CONNECT(xbt_backtrace); + XBT_LOG_CONNECT(xbt_exception); XBT_LOG_CONNECT(xbt_fifo); XBT_LOG_CONNECT(xbt_graph); XBT_LOG_CONNECT(xbt_heap); XBT_LOG_CONNECT(xbt_lib); XBT_LOG_CONNECT(xbt_mallocator); XBT_LOG_CONNECT(xbt_matrix); + XBT_LOG_CONNECT(xbt_memory_map); XBT_LOG_CONNECT(xbt_parmap); XBT_LOG_CONNECT(xbt_sync); XBT_LOG_CONNECT(xbt_sync_os); @@ -134,7 +137,6 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(instr_config); XBT_LOG_CONNECT(instr_msg); XBT_LOG_CONNECT(instr_msg_process); - XBT_LOG_CONNECT(instr_msg_vm); XBT_LOG_CONNECT(instr_paje_containers); XBT_LOG_CONNECT(instr_paje_header); XBT_LOG_CONNECT(instr_paje_trace); @@ -149,7 +151,6 @@ static void xbt_log_connect_categories(void) /* jedule */ #if HAVE_JEDULE XBT_LOG_CONNECT(jedule); - XBT_LOG_CONNECT(jed_out); XBT_LOG_CONNECT(jed_sd); #endif @@ -172,8 +173,10 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(mc_comm_pattern); XBT_LOG_CONNECT(mc_process); XBT_LOG_CONNECT(mc_protocol); - XBT_LOG_CONNECT(mc_RegionSnaphot); + XBT_LOG_CONNECT(mc_Channel); XBT_LOG_CONNECT(mc_ModelChecker); + XBT_LOG_CONNECT(mc_RegionSnaphot); + XBT_LOG_CONNECT(mc_Session); XBT_LOG_CONNECT(mc_state); #endif XBT_LOG_CONNECT(mc_global); @@ -192,6 +195,15 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(msg_task); XBT_LOG_CONNECT(msg_vm); + /* s4u */ + XBT_LOG_CONNECT(s4u); + XBT_LOG_CONNECT(s4u_activity); + XBT_LOG_CONNECT(s4u_actor); + XBT_LOG_CONNECT(s4u_as); + XBT_LOG_CONNECT(s4u_channel); + XBT_LOG_CONNECT(s4u_comm); + XBT_LOG_CONNECT(s4u_file); + /* sg */ XBT_LOG_CONNECT(sg_host); @@ -241,6 +253,7 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(surf_routing_generic); XBT_LOG_CONNECT(surf_route_cluster); XBT_LOG_CONNECT(surf_route_cluster_torus); + XBT_LOG_CONNECT(surf_route_cluster_dragonfly); XBT_LOG_CONNECT(surf_route_dijkstra); XBT_LOG_CONNECT(surf_route_fat_tree); XBT_LOG_CONNECT(surf_route_floyd); @@ -252,6 +265,9 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(surf_vm); XBT_LOG_CONNECT(surf_host); + /* routing */ + XBT_LOG_CONNECT(AsImpl); + #endif /* simgrid_EXPORTS */ } @@ -268,7 +284,8 @@ void xbt_log_init(int *argc, char **argv) int i, j; char *opt; - // _XBT_LOGV(log).threshold = xbt_log_priority_debug; /* uncomment to set the LOG category to debug directly */ + /* uncomment to set the LOG category to debug directly */ + // _XBT_LOGV(log).threshold = xbt_log_priority_debug; xbt_log_connect_categories();