openharmony_ci 32604ec7dc !84 merge master into master
bug: fix codex

Created-by: lyj_love_code
Commit-by: lyj_love_code
Merged-by: openharmony_ci
Description: ### 相关的Issue
https://gitcode.com/openharmony/hiviewdfx_hievent_lite/issues/14
  
### 原因(目的、解决的问题等)
代码不符合编码规范。

### 描述(做了什么,变更了什么)
修改snprintf_s中打印类型为与变量无符号整数类型一致的%u。

### 测试用例(新增、改动、可能影响的功能)
 NA   
    


See merge request: openharmony/hiviewdfx_hievent_lite!84
2026-01-05 22:11:21 +08:00
2021-04-07 14:48:25 +08:00
2026-01-05 19:13:17 +08:00
2025-01-02 02:40:04 +00:00
2025-01-02 02:40:04 +00:00

hievent Module

Overview

This module provides APIs for printing faults, user behavior, and power consumption statistics of service components. It also supports event serialization.

Architecture

  1. An event is created.
  2. Data is added for the event.
  3. The event is reported.
  4. The event component checks the parameter validity and performs binary serialization to convert the event into structured data.
  5. The event component calls the output function to write the event into a file. Each time a new file is written, the common header information is added to it.
  6. The upload component passively or proactively reports the event information to smartphones at a scheduled time.

Repositories Involved

DFX subsystem

hiviewdfx_hilog_lite

hiviewdfx_hiview_lite

hiviewdfx_hievent_lite

S
Description
MCU event recording module in the DFX subsystem | DFX-MCU事件记录模块
Readme 484 KiB
Languages
C 100%