fix: M核添加维测接口
【背景】M核添加维测接口 【修改方案】 1, 添加任务栈dump接口 2, 添加中断dump接口 3, 添加任务调度流程dump 【影响】 对现有的产品编译不会有影响。 re #I55DJV Signed-off-by: wangchen <wangchen64@huawei.com>
This commit is contained in:
@@ -38,6 +38,9 @@
|
||||
#if (LOSCFG_KERNEL_PM == 1)
|
||||
#include "los_pm.h"
|
||||
#endif
|
||||
#if (LOSCFG_DEBUG_TOOLS == 1)
|
||||
#include "los_debugtools.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
@@ -547,6 +550,9 @@ BOOL OsSchedTaskSwitch(VOID)
|
||||
isTaskSwitch = TRUE;
|
||||
|
||||
OsHookCall(LOS_HOOK_TYPE_TASK_SWITCHEDIN);
|
||||
#if (LOSCFG_DEBUG_TOOLS == 1)
|
||||
OsSchedTraceRecord(newTask, runTask);
|
||||
#endif
|
||||
}
|
||||
|
||||
OsSchedTaskDeQueue(newTask);
|
||||
|
||||
Reference in New Issue
Block a user