• Home
Name Date Size #Lines LOC

..--

BUILD.gnD07-Sep-20242.5 KiB7570

LICENSED07-Sep-20249.9 KiB177150

README.mdD07-Sep-20241.5 KiB3720

README_zh.mdD07-Sep-20241.3 KiB4121

bundle.jsonD07-Sep-2024871 3635

hiview_cache.cD07-Sep-20246 KiB223181

hiview_cache.hD07-Sep-20243 KiB11640

hiview_config.cD07-Sep-20241.2 KiB3618

hiview_config.hD07-Sep-20243.8 KiB10670

hiview_def.hD07-Sep-20241.8 KiB6138

hiview_file.cD07-Sep-202410.4 KiB338295

hiview_file.hD07-Sep-20245.7 KiB20480

hiview_service.cD07-Sep-20244 KiB140106

hiview_service.hD07-Sep-20241.9 KiB7346

hiview_util.cD07-Sep-20247.5 KiB307253

hiview_util.hD07-Sep-20243.2 KiB11681

README.md

1# hiview Module<a name="EN-US_TOPIC_0000001079122822"></a>
2
3-   [Overview](#section469617221261)
4-   [Architecture](#section15884114210197)
5-   [Repositories Involved](#section767551120815)
6
7## Overview<a name="section469617221261"></a>
8
9The hiview module provides the initialization of the DFX subsystem and controls the startup of each component as required.
10
11## Architecture<a name="section15884114210197"></a>
12
13The DFX initialization consists of two phases: DEVICE\_INIT and CORE\_INIT.
14
15DEVICE\_INIT:
16
171. The config component and core configuration parameters \(enabling or disabling the dump or event function\) of the DFX subsystem are initialized.
18
192. The log component is initialized, without involving the dynamic memory allocation and file operation capabilities.
20
213. The status information about the current DFX subsystem is written into the config component.
22
23CORE\_INIT:
24
251. The log, dump, event, and output components are initialized as required based on the parameters of the config component.
26
272. Memory management and file system operations are started normally. Memory can be requested and files can be created as required.
28
29## Repositories Involved<a name="section767551120815"></a>
30
31[DFX subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/dfx.md)
32
33[hiviewdfx\_hilog\_lite](https://gitee.com/openharmony/hiviewdfx_hilog_lite/blob/master/README.md)
34
35**hiviewdfx\_hiview\_lite**
36
37[hiviewdfx\_hievent\_lite](https://gitee.com/openharmony/hiviewdfx_hievent_lite/blob/master/README.md)

README_zh.md

1# Hiview介绍<a name="ZH-CN_TOPIC_0000001079122822"></a>
2
3-   [简介](#section469617221261)
4-   [架构](#section15884114210197)
5-   [相关仓](#section767551120815)
6
7## 简介<a name="section469617221261"></a>
8
9提供DFX子系统整体的初始化功能,控制各组件按需启动
10
11## 架构<a name="section15884114210197"></a>
12
13DFX子系统初始化分为两个阶段:DEVICE\_INIT、CORE\_INIT。
14
15DEVICE\_INIT阶段:
16
171\)   初始化config模块,初始化DFX子系统核心配置参数(配置开启关闭dump\\event功能)。
18
192\)   初始化log组件,不能涉及内存动态分配、文件操作能力。
20
213\)   记录当前DFX子系统的状态信息到config中。
22
23CORE\_INIT阶段:
24
251\)   根据config的参数,按需初始化log、dump、event及对应的output组件。
26
272\)   该阶段内存管理、文件系统已经正常启动,可按需申请内存并创建文件。
28
29-   [相关仓](#section767551120815)
30
31
32## 相关仓<a name="section767551120815"></a>
33
34[DFX子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/DFX%E5%AD%90%E7%B3%BB%E7%BB%9F.md)
35
36[hiviewdfx\_hilog\_lite](https://gitee.com/openharmony/hiviewdfx_hilog_lite/blob/master/README_zh.md)
37
38**hiviewdfx\_hiview\_lite**
39
40[hiviewdfx\_hievent\_lite](https://gitee.com/openharmony/hiviewdfx_hievent_lite/blob/master/README_zh.md)
41