Commit 7157d4bc authored by Laurent THOMAS's avatar Laurent THOMAS Committed by Robert Schmidt

add trace when the main NR UE thread ends and when NR UE sets oai_exit variable

parent 75a68167
...@@ -1091,7 +1091,7 @@ void *UE_thread(void *arg) ...@@ -1091,7 +1091,7 @@ void *UE_thread(void *arg)
stream_status = STREAM_STATUS_SYNCED; stream_status = STREAM_STATUS_SYNCED;
tx_wait_for_dlsch[slot] = 0; tx_wait_for_dlsch[slot] = 0;
} }
LOG_W(NR_PHY, "UE main thread is ending\n");
return NULL; return NULL;
} }
......
...@@ -139,10 +139,7 @@ int create_tasks_nrue(uint32_t ue_nb) { ...@@ -139,10 +139,7 @@ int create_tasks_nrue(uint32_t ue_nb) {
void exit_function(const char *file, const char *function, const int line, const char *s, const int assert) void exit_function(const char *file, const char *function, const int line, const char *s, const int assert)
{ {
int CC_id; int CC_id;
LOG_W(NR_PHY, "called by: %s:%d %s() Exiting OAI softmodem: %s\n", file, line, function, s ? s : "no msg");
if (s != NULL) {
printf("%s:%d %s() Exiting OAI softmodem: %s\n",file,line, function, s);
}
oai_exit = 1; oai_exit = 1;
...@@ -496,9 +493,8 @@ int main(int argc, char **argv) ...@@ -496,9 +493,8 @@ int main(int argc, char **argv)
printf("Entering ITTI signals handler\n"); printf("Entering ITTI signals handler\n");
printf("TYPE <CTRL-C> TO TERMINATE\n"); printf("TYPE <CTRL-C> TO TERMINATE\n");
itti_wait_tasks_end(trigger_deregistration); itti_wait_tasks_end(trigger_deregistration);
printf("Returned from ITTI signal handler\n"); LOG_W(NR_PHY, "Returned from ITTI signal handler\n");
oai_exit=1; oai_exit = 1;
printf("oai_exit=%d\n",oai_exit);
if (ouput_vcd) if (ouput_vcd)
vcd_signal_dumper_close(); vcd_signal_dumper_close();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment