DFX
Introduction
Design for X (DFX) refers to the software design that aims to improve the quality attribute in OpenHarmony. It mainly consists of two parts: design for reliability (DFR) and design for testability (DFT).
The DFX subsystem provides the following capabilities:
-
HiLog: Implements the logging capability.
-
HiEvent: Implements the event logging capability.
-
Hiview: Implements the logging task capability.
Architecture
Figure 1 Architecture of the DFX subsystem
Directory Structure
base/hiviewdfx # DFX base repository, which stores compilation-related configurations
├── hiview_lite # Hiview_lite module, which implements the logging task capability for the mini system
├── hilog_lite # HiLog_lite module, which implements the logging capability for the mini and small systems
├── hievent_lite # HiEvent_lite module, which implements the event logging capability for the mini system
Repositories Involved
DFX subsystem