Replaced ITTI_ERROR by DevAssert or DevCheck, error in ITTI are critical and should stop the program!

Disabled debug log in ITTI by default.
Added ITTI_MSG_NAME and ITTI_MSG_INSTANCE defines to simplify acces to some part of message header.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4284 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
winckel
2013-10-25 14:01:50 +00:00
parent 12d298b564
commit f8ff00481d
3 changed files with 30 additions and 52 deletions
+1 -1
View File
@@ -60,7 +60,7 @@
/* Declared in intertask_interface.c */
extern int itti_debug;
#define ITTI_DEBUG(x, args...) do { fprintf(stdout, "[ITTI][D]"x, ##args); } \
#define ITTI_DEBUG(x, args...) do { if (itti_debug) fprintf(stdout, "[ITTI][D]"x, ##args); } \
while(0)
#define ITTI_ERROR(x, args...) do { fprintf(stdout, "[ITTI][E]"x, ##args); } \
while(0)