From 7821505e4649daa34ba35ae19b4510368b1d40d2 Mon Sep 17 00:00:00 2001 From: xuyong Date: Sat, 29 Jan 2022 14:11:14 +0800 Subject: [PATCH] =?UTF-8?q?HiSysEvent=20Tag=E8=AE=A2=E9=98=85=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xuyong --- .../subsystems/subsys-dfx-hisysevent-yaml-define.md | 4 ++-- zh-cn/device-dev/subsystems/subsys-dfx-hisysevent.md | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-yaml-define.md b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-yaml-define.md index 5229403956..7a7c8d0690 100644 --- a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-yaml-define.md +++ b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-yaml-define.md @@ -1,4 +1,4 @@ -# HiSysEvent打点YAML文件配置指导 +# HiSysEvent打点管理配置指导 - [概述](#section315316685115) - [yaml文件的编写](#section123181432175113) @@ -11,7 +11,7 @@ ## 概述 -OpenHarmony编译框架会收集各个部件通过bundle.js文件所指定的yaml文件,然后通过python编译脚本解析校验这些yaml文件。通过解析校验之后,该python脚本还会将这些yaml文件中配置的信息转换成名为“hisysevent.def”的json文件。最后,编译框架会将此json文件打包到rom的在指定路径。 +部件若有HiSysEvent事件的打点需求,则需要先定义yaml文件并在bundle.js文件中配置这些文件的路径。OpenHarmony编译框架在编译过程中则会通过python编译脚本解析校验bundle.js文件指定的所有yaml文件。在解析校验之后,编译框架会将这些yaml文件中配置的信息汇总转换成名为hisysevent.def的json文件。最后,将此json文件打包到系统指定路径下。 ## yaml文件的编写 diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent.md b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent.md index 669f06e175..53a28a8343 100755 --- a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent.md +++ b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent.md @@ -2,12 +2,10 @@ - **[HiSysEvent打点指导](subsys-dfx-hisysevent-write.md)** -- **[HiSysEvent打点YAML文件配置指导](subsys-dfx-hisysevent-yaml-define.md)** +- **[HiSysEvent打点管理配置指导](subsys-dfx-hisysevent-yaml-define.md)** - **[HiSysEvent订阅指导](subsys-dfx-hisysevent-read.md)** - **[HiSysEvent查询指导](subsys-dfx-hisysevent-select.md)** -- **[HiSysEvent工具使用指导](subsys-dfx-hisysevent-tool.md)** - - +- **[HiSysEvent工具使用指导](subsys-dfx-hisysevent-tool.md)** \ No newline at end of file -- GitLab