fix: M核添加维测接口

【背景】M核添加维测接口

【修改方案】
1, 添加任务栈dump接口
2, 添加中断dump接口
3, 添加任务调度流程dump
【影响】
对现有的产品编译不会有影响。
re #I5644Y
Signed-off-by: wangchen <wangchen64@huawei.com>
This commit is contained in:
wangchen
2022-05-06 09:10:30 +00:00
parent 03b4650a16
commit fb740f9b23
21 changed files with 920 additions and 22 deletions

5
components/debugtools/BUILD.gn Executable file → Normal file
View File

@@ -31,7 +31,10 @@ import("//kernel/liteos_m/liteos.gni")
module_switch = defined(LOSCFG_DEBUG_TOOLS)
module_name = get_path_info(rebase_path("."), "name")
kernel_module(module_name) {
sources = [ "los_stackdump.c" ]
sources = [
"los_hwidump.c",
"los_stackdump.c",
]
configs += [ "$LITEOSTOPDIR:warn_config" ]
}