[add] MRamTrace: lightweight RAM-backed function tracing for MCU firmware - #2027
Merged
Conversation
Contributor
Author
|
已将 VER_SHA 从 main 固定到 v1.0.0 release 对应的 commit(81c2e766),避免后续 main 分支变动影响拉取稳定性。 本地已通过完整 CI 校验: 结果:Checked 1 package(s),无报错。 另外补充说明:RT-Thread 适配已在 STM32F407 真机验证(1200 事件、100% 覆盖、0 未解析符号),详情见 PR 描述。 |
Contributor
Author
|
@Rbb666 打扰了, CI 目前卡在 action_required 状态(首次向仓库贡献的 fork PR 需要维护者手动点击「Approve and run」workflow 才能触发),如方便也请帮忙批准一下。本地已通过完整校验: 该包为函数级追踪工具(RT-Thread port 已在 STM32F407 真机验证:1200 事件、100% 覆盖、0 未解析符号),版本已固定到 v1.0.0。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
包介绍 / Package Description
MRamTrace 是一款轻量级基于 RAM 的 MCU 函数追踪与离线可视化工具。通过 GCC/Clang 的
-finstrument-functions将函数进入/退出事件写入环形缓冲区,冻结后导出,结合 ELF 生成火焰图、调用图、Perfetto、Speedscope 等离线分析数据。MRamTrace is a lightweight RAM-backed function tracing and offline visualization tool for MCU firmware.
仓库 / Repository
特性 / Features
rt_thread_self()免任务切换 hook验证 / Validation
已在 STM32F407(lxb407zgt6)实测:1200 事件、100% 覆盖、0 未解析符号,成功生成火焰图 / callgrind / chrome-trace。
修改文件 / Files