#ifdef HAVE_TRACING
+XBT_LOG_NEW_CATEGORY(instr, "Logging the behavior of the tracing system (used for Visualization/Analysis of simulations)");
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_config, instr, "Configuration");
+
#define OPT_TRACING "tracing"
#define OPT_TRACING_SMPI "tracing/smpi"
#define OPT_TRACING_SMPI_GROUP "tracing/smpi/group"
#include "instr/instr_private.h"
-XBT_LOG_NEW_DEFAULT_CATEGORY(tracing, "Tracing Interface");
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_api, instr, "API");
static xbt_dict_t defined_types;
xbt_dict_t created_categories;
#ifdef HAVE_TRACING
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg, instr, "MSG");
+
static xbt_dict_t task_containers = NULL;
static char *TRACE_task_alias_container(m_task_t task, m_process_t process,
#ifdef HAVE_TRACING
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_simdag, instr, "Tracing SimDAG");
+
void TRACE_sd_task_create(SD_task_t task)
{
task->category = NULL;
#ifdef HAVE_TRACING
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_smpi, instr, "Tracing SMPI");
+
static xbt_dict_t keys;
static char *TRACE_smpi_container(int rank, char *container, int n)
#ifdef HAVE_TRACING
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_simix, instr, "Tracing Simix");
+
static long long int counter = 0; /* to uniquely identify simix actions */
void TRACE_smx_host_execute(smx_action_t act)
#ifdef HAVE_TRACING
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(tracing_surf, tracing, "Tracing Surf");
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf");
static xbt_dict_t created_links;
static xbt_dict_t host_containers;