diff --git a/en/device-dev/subsystems/subsys-dfx-hisysevent-listening.md b/en/device-dev/subsystems/subsys-dfx-hisysevent-listening.md index 6f131e191a5d4b4fa20beae01941c17f16b343f6..613c624e1a155a1a97e6e042eb9b4a906947ee76 100644 --- a/en/device-dev/subsystems/subsys-dfx-hisysevent-listening.md +++ b/en/device-dev/subsystems/subsys-dfx-hisysevent-listening.md @@ -149,11 +149,11 @@ The following provides an example of how to use C++ APIs of **HiSysEvent**. ``` 2. Configure the **BUILD.gn** file. - In the **BUILD.gn** file, add the **libhisysevent** and **libhisyseventmanager** libraries that depend on the **hisysevent_native** component. + In the **BUILD.gn** file, add the **libhisysevent** and **libhisyseventmanager** libraries that depend on the **hisysevent** component. ``` external_deps = [ - "hisysevent_native:libhisysevent", - "hisysevent_native:libhisyseventmanager", + "hisysevent:libhisysevent", + "hisysevent:libhisyseventmanager", ] ``` diff --git a/en/device-dev/subsystems/subsys-dfx-hisysevent-logging.md b/en/device-dev/subsystems/subsys-dfx-hisysevent-logging.md index f03d6ef5972806fbb04b728bf95ce7542bf3fff6..982cd9ce935f690c87fe3ea358e1107445cac973 100644 --- a/en/device-dev/subsystems/subsys-dfx-hisysevent-logging.md +++ b/en/device-dev/subsystems/subsys-dfx-hisysevent-logging.md @@ -257,7 +257,7 @@ Assume that a service module needs to trigger event logging during application s 1. Add the HiSysEvent component dependency to the **BUILD.gn** file of the service module. ```c++ - external_deps = [ "hisysevent_native:libhisysevent" ] + external_deps = [ "hisysevent:libhisysevent" ] ``` 2. In the application startup function **StartAbility()** of the service module, call the event logging API with event parameters passed in. @@ -280,7 +280,7 @@ Assume that a service module needs to trigger event logging during application s 1. Add the HiSysEvent component dependency to the **BUILD.gn** file of the service module. ```c++ - external_deps = [ "hisysevent_native:libhisysevent" ] + external_deps = [ "hisysevent:libhisysevent" ] ``` 2. In the application startup function **StartAbility()** of the service module, call the event logging API with event parameters passed in. diff --git a/en/device-dev/subsystems/subsys-dfx-hisysevent-query.md b/en/device-dev/subsystems/subsys-dfx-hisysevent-query.md index 76d048f3056769b13338e3a7629d6be00d2513ae..88fd95fd4aafaa5d4d27d0da7649cceb7836d577 100644 --- a/en/device-dev/subsystems/subsys-dfx-hisysevent-query.md +++ b/en/device-dev/subsystems/subsys-dfx-hisysevent-query.md @@ -252,12 +252,12 @@ The return values of the HiSysEventRecord APIs are described as follows: Assume that you need to query all **PLUGIN_LOAD** events that are generated for the **HIVIEWDFX** domain until the current time on a service module. The development procedure is as follows: -1. Add the **libhisysevent** and **libhisyseventmanager** dependencies of the **hisysevent_native** component to **BUILD.gn** of the service module. +1. Add the **libhisysevent** and **libhisyseventmanager** dependencies of the **hisysevent** component to **BUILD.gn** of the service module. ```c++ external_deps = [ - "hisysevent_native:libhisysevent", - "hisysevent_native:libhisyseventmanager", + "hisysevent:libhisysevent", + "hisysevent:libhisyseventmanager", ] ``` @@ -320,10 +320,10 @@ Assume that you need to query all **PLUGIN_LOAD** events that are generated for Assume that you need to query all **PLUGIN_LOAD** events that are generated for the **HIVIEWDFX** domain until the current time on a service module. The development procedure is as follows: -1. Add the **libhisyseventmanager** dependency of the **hisysevent_native** component to the **BUILD.gn** file of the service module. +1. Add the **libhisyseventmanager** dependency of the **hisysevent** component to the **BUILD.gn** file of the service module. ```c++ - external_deps = [ "hisysevent_native:libhisyseventmanager" ] + external_deps = [ "hisysevent:libhisyseventmanager" ] // for strcpy_s deps = [ "//third_party/bounds_checking_function:libsec_shared" ] diff --git a/en/device-dev/subsystems/subsys-dfx-hitracechain.md b/en/device-dev/subsystems/subsys-dfx-hitracechain.md index f8a7c70451cf0b7b357492d7fd01ba9aca287e36..3a94150b94e81b3414da83ccbebd3958c1f48d15 100644 --- a/en/device-dev/subsystems/subsys-dfx-hitracechain.md +++ b/en/device-dev/subsystems/subsys-dfx-hitracechain.md @@ -208,7 +208,7 @@ The process is as follows: 2. Configure compilation information. Specifically, add the subsystem SDK dependency to **BUILD.gn**. ``` - external_deps = [ "hiviewdfx:libhitracechain" ] + external_deps = [ "hitrace:libhitracechain" ] ``` @@ -232,5 +232,5 @@ The process is as follows: 2. Configure compilation information. Specifically, add the subsystem SDK dependency to **BUILD.gn**. ``` - external_deps = [ "hiviewdfx:libhitracechain" ] + external_deps = [ "hitrace:libhitracechain" ] ``` diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-listening.md b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-listening.md index 6faba48de2cdd1cb7a462c60b7d047f13003c5be..722b346e0bcac7ca94365806f40d90a168710ead 100644 --- a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-listening.md +++ b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-listening.md @@ -149,11 +149,11 @@ HiSysEvent提供了跨进程订阅机制,开发者可以通过注册订阅接 ``` 2. 编译配置 - 在BUILD.gn编译文件中,需要添加依赖hisysevent_native组件的libhisysevent及libhisyseventmanager库: + 在BUILD.gn编译文件中,需要添加依赖hisysevent组件的libhisysevent及libhisyseventmanager库: ``` external_deps = [ - "hisysevent_native:libhisysevent", - "hisysevent_native:libhisyseventmanager", + "hisysevent:libhisysevent", + "hisysevent:libhisyseventmanager", ] ``` diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-logging.md b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-logging.md index 8c871f3957bc0bb8f8ba3c962b7c7e63f5711050..1424fb5eb6f6c0fe00d392e8221e85c1ed522c20 100644 --- a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-logging.md +++ b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-logging.md @@ -257,7 +257,7 @@ kernel事件打点开发能力如下:具体API详见接口文件(/kernel/lin 1. 首先,需要在业务模块的在BUILD.gn里增加HiSysEvent部件依赖。 ```c++ - external_deps = [ "hisysevent_native:libhisysevent" ] + external_deps = [ "hisysevent:libhisysevent" ] ``` 2. 在业务模块的应用启动函数StartAbility()中,调用打点接口并传入对应事件参数。 @@ -280,7 +280,7 @@ kernel事件打点开发能力如下:具体API详见接口文件(/kernel/lin 1. 首先,需要在业务模块的在BUILD.gn里增加HiSysEvent部件依赖。 ```c++ - external_deps = [ "hisysevent_native:libhisysevent" ] + external_deps = [ "hisysevent:libhisysevent" ] ``` 2. 在业务模块的应用启动函数StartAbility()中,调用打点接口并传入对应事件参数。 diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-query.md b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-query.md index c47b0454d78dc06b05f69a2208dec9404c914536..00d15486e392a5ada06b0b9b286ca431f5139396 100644 --- a/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-query.md +++ b/zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-query.md @@ -252,12 +252,12 @@ HiSysEventRecord解析接口的返回值说明如下: 假设业务模块需要查询截止至当前时间、事件领域为HIVIEWDFX、事件名称为PLUGIN_LOAD的所有事件,其完整使用示例如下所示: -1. 首先,需要在业务模块的在BUILD.gn里增加hisysevent_native部件的libhisysevent及libhisyseventmanager依赖。 +1. 首先,需要在业务模块的在BUILD.gn里增加hisysevent部件的libhisysevent及libhisyseventmanager依赖。 ```c++ external_deps = [ - "hisysevent_native:libhisysevent", - "hisysevent_native:libhisyseventmanager", + "hisysevent:libhisysevent", + "hisysevent:libhisyseventmanager", ] ``` @@ -320,10 +320,10 @@ HiSysEventRecord解析接口的返回值说明如下: 假设业务模块需要查询截止至当前时间、事件领域为HIVIEWDFX、事件名称为PLUGIN_LOAD的所有事件,其完整使用示例如下所示: -1. 首先,需要在业务模块的在BUILD.gn里增加hisysevent_native部件的libhisyseventmanager依赖。 +1. 首先,需要在业务模块的在BUILD.gn里增加hisysevent部件的libhisyseventmanager依赖。 ```c++ - external_deps = [ "hisysevent_native:libhisyseventmanager" ] + external_deps = [ "hisysevent:libhisyseventmanager" ] // for strcpy_s deps = [ "//third_party/bounds_checking_function:libsec_shared" ] diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-hitracechain.md b/zh-cn/device-dev/subsystems/subsys-dfx-hitracechain.md index 1941e1a7db0f0bc7c091fb3a08703f41310dc6fd..a95add2ce6d52ace702f06891eeefe261bd254f8 100644 --- a/zh-cn/device-dev/subsystems/subsys-dfx-hitracechain.md +++ b/zh-cn/device-dev/subsystems/subsys-dfx-hitracechain.md @@ -208,7 +208,7 @@ OpenHarmony系统内置部分通信机制(如ZIDL)已经支持传递traceid 2. 编译设置,在BUILD.gn里增加子系统SDK依赖: ``` - external_deps = [ "hiviewdfx:libhitracechain" ] + external_deps = [ "hitrace:libhitracechain" ] ``` @@ -232,5 +232,5 @@ OpenHarmony系统内置部分通信机制(如ZIDL)已经支持传递traceid 2. 编译设置,在BUILD.gn里增加子系统SDK依赖: ``` - external_deps = [ "hiviewdfx:libhitracechain" ] + external_deps = [ "hitrace:libhitracechain" ] ```