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

View File

@@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <nuttx/arch.h>
#include <nuttx/irq.h>
#include <nuttx/trace.h>
#include "irq/irq.h"
@@ -68,6 +69,8 @@ void irq_initialize(void)
{
int i;
sched_trace_begin();
/* Point all interrupt vectors to the unexpected interrupt */
for (i = 0; i < TAB_SIZE; i++)
@@ -82,4 +85,5 @@ void irq_initialize(void)
#endif
up_irqinitialize();
sched_trace_end();
}