add the startup process tracepoint

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai
2023-02-22 11:08:22 +08:00
committed by Xiang Xiao
parent 1e164b7f75
commit 8fa4f2d61d
13 changed files with 64 additions and 7 deletions
+4
View File
@@ -31,6 +31,7 @@
#include <nuttx/irq.h>
#include <nuttx/queue.h>
#include <nuttx/trace.h>
#include "timer/timer.h"
@@ -83,6 +84,8 @@ volatile sq_queue_t g_alloctimers;
void timer_initialize(void)
{
sched_trace_begin();
#if CONFIG_PREALLOC_TIMERS > 0
int i;
@@ -101,6 +104,7 @@ void timer_initialize(void)
/* Initialize the list of allocated timers */
sq_init((FAR sq_queue_t *)&g_alloctimers);
sched_trace_end();
}
/****************************************************************************