add hisysevent

Signed-off-by: hw-wLiu <liuwei573@huawei.com>
This commit is contained in:
hw-wLiu 2024-11-06 14:33:18 +08:00
parent 52b2e3ae65
commit 3e93ebf5b2
3 changed files with 6 additions and 5 deletions

View File

@ -48,9 +48,9 @@ ohos_shared_library("cpudataplugin") {
output_name = "cpudataplugin"
version_script = "libcpu_plugin.map"
deps = [
":cpudataplugin_source",
"${OHOS_PROFILER_DIR}/device/base:hiprofiler_base",
]
":cpudataplugin_source",
"${OHOS_PROFILER_DIR}/device/base:hiprofiler_base",
]
if (current_toolchain != host_toolchain) {
defines = [ "HAVE_HILOG" ]
external_deps = [

View File

@ -26,6 +26,7 @@ ohos_unittest("processplugin_ut") {
module_out_path = module_output_path
sources = [ "unittest/process_plugin_unittest.cpp" ]
deps = [
"${OHOS_PROFILER_DIR}/device/base:hiprofiler_base",
"${OHOS_PROFILER_DIR}/device/plugins/process_plugin:processplugin_source",
"${OHOS_PROFILER_DIR}/protos/types/plugins/process_data:process_data_cpp",
]

View File

@ -15,8 +15,8 @@ domain: PROFILER
HIPROFILER_USAGE:
__BASE: {type: STATISTIC, level: CRITICAL, tag: usageStats, desc: cpu_plugin usage statistics}
PLUGIN_NAME: {type: STRING desc: hiprofiler plugin name }
PLUGIN_NAME: {type: STRING, desc: hiprofiler plugin name}
CALLER: {type: STRING, desc: hiprofiler caller}
ARGS: {type: STRING, desc: hiprofiler plugin args}
ERROR_CODE: {type: INT32. desc: hiprofiler request error code }
ERROR_CODE: {type: INT32, desc: hiprofiler request error code}
ERROR_MESSAGE: {type: STRING, desc: hiprofiler request error message}