804 Star 2.4K Fork 1.2K

GVPHuawei LiteOS / LiteOS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
overview-0.md 941 Bytes
一键复制 编辑 原始数据 按行查看 历史

Overview

Basic Concepts

The trace module records system behaviors in real time, which is similar to the video recording function. When an exception occurs in the system, you can use this function to view historical events to locate the fault.

Operational Mechanism

The trace module of Huawei LiteOS uses the static code stub in buffer recording mode. When the stub is executed, the context of the event is obtained and written to the buffer.

The input parameters of the instrumentation function need to provide the trace event type, event operation object, and event parameters. The information is written into the buffer. In addition, the event context information such as the event occurrence time and task information in the system is recorded in the buffer.

C
1
https://gitee.com/LiteOS/LiteOS.git
git@gitee.com:LiteOS/LiteOS.git
LiteOS
LiteOS
LiteOS
master

搜索帮助