yf13 commented on code in PR #11542:
URL: https://github.com/apache/nuttx/pull/11542#discussion_r1451841857
##########
sched/task/task_activate.c:
##########
@@ -94,4 +94,11 @@ void nxtask_activate(FAR struct tcb_s *tcb)
}
leave_critical_section(flags);
+
+#if CONFIG_TASK_NAME_SIZE>0
+ sinfo("%s pid=%d,TCB=%p\n", tcb->name,
Review Comment:
These information should be enough for high level judgements, there are at
most two logs for one task: one for first run and one for end of life. The
current information are more than most logs in "up_exit" where only TCB address
is printed. We sure can enrich later but it is fine for now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]