hiviewdfx_hievent_lite:基于DFX子系统的事件打点与序列化处理项目

MCU event recording module in the DFX subsystem | DFX-MCU事件记录模块

Branch252Tags0
FilesLast commitLast update
5 years ago
4 years ago
10 months ago
4 years ago
1 year ago
4 years ago
4 years ago
4 years ago
1 year ago

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

Introduction

MCU event recording module in the DFX subsystem | DFX-MCU事件记录模块

Customize your domain