mirror of
https://github.com/openharmony/hiviewdfx_hievent_lite.git
synced 2026-06-30 21:57:57 -04:00
dc591ec7d7
Change-Id: If37cff8bf4f535ba234bccbf3a6d5615831d3184 Signed-off-by: shenchenkai <shenchenkai@huawei.com>
1.3 KiB
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
- An event is created.
- Data is added for the event.
- The event is reported.
- The event component checks the parameter validity and performs binary serialization to convert the event into structured data.
- 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.
- The upload component passively or proactively reports the event information to smartphones at a scheduled time.
Repositories Involved
hiviewdfx_hievent_lite