Files
shenchenkai dc591ec7d7 Description:fix issue from internal review
Change-Id: If37cff8bf4f535ba234bccbf3a6d5615831d3184
Signed-off-by: shenchenkai <shenchenkai@huawei.com>
2022-03-09 14:24:21 +08:00

1.3 KiB

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