Commit Graph
20 Commits
Author SHA1 Message Date
winckel 9414363c02 Added an ITTI local function to find task ID when not known from current pthread.
Added ERROR and WARNING messages description.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4415 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 14:56:10 +00:00
Cedric Roux 5e2586626c - Added new feature to ITTI:
* Possibilty to dump formatted strings directly to the analyzer
- Updated itti_analyzer accordingly

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4413 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-15 12:49:51 +00:00
winckel 18cff95951 Added support of LTE time (logical time) in ITTI messages.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4393 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-14 07:49:50 +00:00
winckel fb84398911 Modified ITTI to not transmit message for "TASK_UNKNOWN", this allow using message to this task for debug purpose.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4362 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-12 10:47:54 +00:00
winckel b5afe14d13 Replaced global ITTI queue size limit with a by task size limit.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4352 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-08 13:05:38 +00:00
winckel cefa14650f Modified ITTI to create one message queue for each task and sub task.
Still only one thread is created by task.

pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4350 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-08 09:43:03 +00:00
winckel 7535f20c31 Solved a race issue between event and message in ITTI with ENABLE_EVEN_FD.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4346 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-07 14:53:17 +00:00
Cedric Roux e8230f2726 - Bugfix for epoll_wait and interrupted system call when using gdb
- Fix memory leaks for itti_analyzer

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4333 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-06 16:10:19 +00:00
Cedric Roux 1863318719 - Added api to subscribe/unsuscribe to new fd events for epoll_wait. Note that events added this way should be monitor by the task itself.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4331 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-06 14:55:47 +00:00
Cedric Roux 9e149aa888 - Fix semaphore value for write
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4329 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-06 12:11:17 +00:00
Cedric Roux 9eb721449d - New core event dispatcher for ITTI: will allow a single task to monitor on multiple event sources via event_fd + epoll_wait apis
- Mutex per user for the ITTI dumper to avoid sending new signals when the XML is dumped to logger

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4328 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-06 11:01:58 +00:00
winckel c560dac658 Added "itti_dump_exit" function to terminate dump activities when itti is exiting.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4312 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-31 16:47:32 +00:00
winckel fef704c73c Completed log file read in itti_analyzer.
Creates a common types definition file for itti_analyzer.
Set message start number to 1.
Changed message name field to 48 char to avoid alignment issues.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4311 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-31 15:17:55 +00:00
winckel 5260b60df7 Added a command line option "-K file_name" to save ITTI logs directly.
Created "RRC_MAC_BCCH_DATA_REQ" message.
Separated L2L1 sub task by eNB/UE to separate messages handling in PDCP and MAC.
Added ITTI messages poll in MAC sub tasks.

pre-ci ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4300 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-30 08:21:23 +00:00
Cedric Roux 33d621c4e9 - New function: get task name
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4288 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-28 16:21:01 +00:00
winckel f8ff00481d 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
2013-10-25 14:01:50 +00:00
winckel f00c036367 added "itti_exit_task" to terminate current task when a MESSAGE_TERMINATE is received.
Modified "itti_wait_tasks_end" to exit when some threads are not terminated after a 1 second time-out.
modified "SIGINT" handling, exit is done after tring to join all threads like for "SIGUSR1".
Added message reception for TASK_L2L1 and handling of TEST and TERMINATE messages in oaisim.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4269 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-23 14:08:42 +00:00
winckel b45af4a3c9 Moved files related to assertions, backtrace and signals handling into ITTI directory.
Renamed all ITTI functions, to make them start with module name ("itti_").
Added generic signals handling support in ITTI.
Changed ITTI log port for oaisim to 10006.
Introduce an option to use ITTI in oaisim and reoragized code.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4267 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-23 12:18:35 +00:00
winckel 497527fa1b Created defines to shift task id fields.
Fixed an issue with message broadcast, task Id was incorrect.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4263 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-22 16:14:41 +00:00
winckel 04fa42dd01 Moved ITTI into common/utils.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4236 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-10-21 09:08:27 +00:00