Change-Id: I58242de98f53079f0cfb4b0060c22d9cc5f48ff6 Signed-off-by: shenchenkai <shenchenkai@huawei.com>
1.5 KiB
hiview Module
Overview
The hiview module provides the initialization of the DFX subsystem and controls the startup of each component as required.
Architecture
The DFX initialization consists of two phases: DEVICE_INIT and CORE_INIT.
DEVICE_INIT:
-
The config component and core configuration parameters (enabling or disabling the dump or event function) of the DFX subsystem are initialized.
-
The log component is initialized, without involving the dynamic memory allocation and file operation capabilities.
-
The status information about the current DFX subsystem is written into the config component.
CORE_INIT:
-
The log, dump, event, and output components are initialized as required based on the parameters of the config component.
-
Memory management and file system operations are started normally. Memory can be requested and files can be created as required.
Repositories Involved
hiviewdfx_hiview_lite