Pull Request已成功合入, 合并人@CANN-robot
(感谢 rentianqi 的贡献)Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| include/dfx | ✅ zhuliangying, newstarzj (2/2) | ✅ zhuliangying (1/1) |
| src/dfx | ✅ zhuliangying, newstarzj (2/2) | ✅ zhuliangying (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)


流水线任务触发成功
任务链接 [67464a4eb1e14d31941e4be2a63becc0][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| UT_Test_acl | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_v201 | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_c | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_david | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_910b | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_common | ✅ SUCCESS | >>>>> | |
| UT_Test_platform | ✅ SUCCESS | >>>>> | |
| UT_Test_qs | ✅ SUCCESS | >>>>> | |
| UT_Test_aicpusd | ✅ SUCCESS | >>>>> | |
| UT_Test_tsd | ✅ SUCCESS | >>>>> | |
| UT_Test_error_manager | ✅ SUCCESS | >>>>> | |
| UT_Test_slog | ✅ SUCCESS | >>>>> | |
| UT_Test_atrace | ✅ SUCCESS | >>>>> | |
| UT_Test_msprof_part1 | ✅ SUCCESS | ||
| UT_Test_msprof_part2 | ✅ SUCCESS | ||
| UT_Test_adump | ✅ SUCCESS | >>>>> | |
| UT_Test_mmpa | ✅ SUCCESS | >>>>> | |
| PreSmoke_A900_npupool | ✅ SUCCESS | >>>>> | |
| UT_Test_rts_report | ✅ SUCCESS | >>>>> | |
| UT_Test_msprof_report | ✅ SUCCESS |
[2026-06-24 11:06:40] CI执行结束


变更摘要
此 PR 为 HIXL 模块新增日志模块名称标识,通过在两处 log_types.h 的模块 ID 枚举中定义 HIXL = 12 常量,并在 log_level.h 的模块初始化映射表中将原先的数字占位符替换为该命名常量,使得 HIXL 模块在日志输出中能够正确打印其模块名称。
主要改动
- 新增
HIXL模块 ID 常量:在include/dfx/base/log_types.h和src/dfx/log/inc/toolchain/log_types.h的模块 ID 枚举中均添加HIXL = 12,将 HIXL 模块正式注册为日志框架的已知模块。 - 模块级别映射改用命名常量:在
src/dfx/log/utils/log_level.h的DEFINE_MODULE_LEVEL宏中,将原先的SINGL_MODULE_MAP(12, MODULE_INIT_LOG_LEVEL)替换为SINGL_MODULE_MAP(HIXL, MODULE_INIT_LOG_LEVEL),使 HIXL 模块的初始化配置与命名常量关联,确保日志输出中可显示HIXL模块名称。


流水线任务触发成功
任务链接 [b6a810f150304dd1a5b7e46dd6c660c8][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck_Check_Pr | ✅ SUCCESS | ||
| codecheck_style | ✅ SUCCESS | >>>>> | |
| codecheck_precommit | ⚠️ WARNING | >>>>> | >>>>> |
| StaticCheck_codespell_check | ✅ SUCCESS | ||
| StaticCheck_link_validity_check | ✅ SUCCESS | ||
| StaticCheck_resource_existence_check | ✅ SUCCESS | ||
| StaticCheck_tag_closed_check | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS |
[2026-06-24 10:54:43] CI执行结束


/approve


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
zhangpengpeng8


/lgtm


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
zhangpengpeng8


/approve


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
zhangpengpeng8


Pull Request
描述
请清晰准确地描述本次 Pull Request 的意图和变更内容。
新增HIXL日志模块名称
变更类型
请选择本次引入的变更类型:
关联的Issue
如何测试
描述测试此变更的步骤和前提条件:
1.通过所有用例
2.成功打印出HIXL模块名称
核对清单
其他信息
在此添加任何其他关于本次 PR 的说明。