Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] missing declaration to avoid compilation errors if tracing is not enabled
[simgrid.git] / include / instr / instr.h
index 9c15d52..9aa4300 100644 (file)
 #include "msg/msg.h"
 #include "simdag/simdag.h"
 
-/* Trace error codes (used in exceptions) */
-#define TRACE_ERROR_COMPLEX_ROUTES 100
-#define TRACE_ERROR_TYPE_NOT_DEFINED 200
-#define TRACE_ERROR_TYPE_ALREADY_DEFINED 201
-#define TRACE_ERROR_CATEGORY_NOT_DEFINED 300
-#define TRACE_ERROR_CATEGORY_ALREADY_DEFINED 301
-#define TRACE_ERROR_MASK 400
-#define TRACE_ERROR_FILE_OPEN 401
-#define TRACE_ERROR_START 500
-#define TRACE_ERROR_ALREADY_ACTIVE 501
-
 XBT_PUBLIC(int) TRACE_category(const char *category);
 XBT_PUBLIC(int) TRACE_category_with_color (const char *category, const char *color);
 XBT_PUBLIC(void) TRACE_define_type(const char *type,
@@ -103,6 +92,7 @@ XBT_PUBLIC(void) TRACE_sd_set_task_category(SD_task_t task,
 #define TRACE_category_with_color(cat,color)
 #define TRACE_define_type(cat,supercat,final)
 #define TRACE_create_category(inst,cat)
+#define TRACE_create_category_with_color(inst,cat,supercat,color)
 #define TRACE_msg_set_task_category(task,cat)
 #define TRACE_msg_set_process_category(proc,cat)
 #define TRACE_set_mask(mask)