1 Star 0 Fork 129

handy/distributed_camera

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hisysevent.yaml 5.86 KB
一键复制 编辑 原始数据 按行查看 历史
chen0088 提交于 2022-06-01 15:09 . 添加hisysevent打点信息
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#####################################################
# below is the format of defining event #
#####################################################
#domain: domain name. [Only one domain name can be defined at the top]
#
#author: the author name who defined this event.
#date: the date when this event was defined, format is YYYY-MM-DD.
#logged: source file which refer to this event.
#usage: the usage of this event.
#//Define event name and event properties.
#@EVENT_NAME: the event definition part begin.
# // __BASE is used for defining the basic info of the event.
# // "type" optional values are: FAULT, STATISTICS, SECURITY, BEHAVIOR.
# // "level" optional values are: CRITICAL, MINOR.
# // "tag" set tags with may used by subscriber of this event, multiple tags devided by space.
# // "desc" full description of this event.
# @PARAMETER: {type: parameter type, arrsize: array length(optional), desc: parameter description}.
# // follow the __BASE block, each line defines a parameter of this event.
# // "type" optional values are: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, STRING.
# // "arrsize" of the parameter is an array, set a non-zero value.
# // "desc" full description of this parameter.
#####################################################
# Example of some hiviewdfx events definition #
#####################################################
domain: DISTCAMERA
DCAMERA_SA_START_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: dcamera sa start error occured}
SAID: {type: INT32, desc: dcamera SAID}
MSG: {type: STRING, desc: dcamera sa error info}
DCAMERA_HDF_START_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: dcamera hdf start error occured}
MSG: {type: STRING, desc: dcamera hdf error info}
DCAMERA_REGISTER_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: dcamera register error occured}
DEVID: {type: STRING, desc: dcamera devId}
DHID: {type: STRING, desc: dcamera dhId}
VERSION: {type: STRING, desc: dcamera version}
MSG: {type: STRING, desc: register dcamera error info}
DCAMERA_CREATE_SESSIONSVR_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: dcamera softbus sessionserver error occured}
PKGNAME: {type: STRING, desc: softbus package name}
SESSIONNAME: {type: STRING, desc: softbus session name}
MSG: {type: STRING, desc: dcamera softbus sessionserver error info}
DCAMERA_OPEN_SESSION_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: dcamera softbus session error occured}
MYSESSIONNAME: {type: STRING, desc: softbus my session name}
PEERSESSIONNAME: {type: STRING, desc: softbus peer session name}
PEERDEVID: {type: STRING, desc: peer network id}
MSG: {type: STRING, desc: dcamera softbus session error info}
DCAMERA_SINK_OPEN_CAM_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: dcamera sink open camera error occured}
DHID: {type: STRING, desc: dcamera dhId}
MSG: {type: STRING, desc: dcamera sink open camera error info}
DCAMERA_ENCODE_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: dcamera video encoder error occured}
WIDTH: {type: INT32, desc: dcamera width}
HEIGHT: {type: INT32, desc: dcamera height}
FORMAT: {type: STRING, desc: dcamera FORMAT}
MSG: {type: STRING, desc: dcamera video encoder error info}
DCAMERA_DECODE_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: dcamera video decoder error occured}
WIDTH: {type: INT32, desc: dcamera width}
HEIGHT: {type: INT32, desc: dcamera height}
FORMAT: {type: STRING, desc: dcamera format}
MSG: {type: STRING, desc: dcamera video decoder error info}
DCAMERA_INIT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: dcamera init sa event}
SAID: {type: INT32, desc: dcamera SAID}
MSG: {type: STRING, desc: dcamera init sa event}
DCAMERA_EXIT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: dcamera release sa event}
SAID: {type: INT32, desc: dcamera SAID}
MSG: {type: STRING, desc: dcamera release sa event}
DCAMERA_REGISTER:
__BASE: {type: BEHAVIOR, level: MINOR, desc: dcamera register event}
DEVID: {type: STRING, desc: dcamera devId}
DHID: {type: STRING, desc: dcamera dhId}
VERSION: {type: STRING, desc: dcamera version}
MSG: {type: STRING, desc: dcamera register event}
DCAMERA_UNREGISTER:
__BASE: {type: BEHAVIOR, level: MINOR, desc: dcamera unregister event}
DEVID: {type: STRING, desc: dcamera devId}
DHID: {type: STRING, desc: dcamera dhId}
VERSION: {type: STRING, desc: dcamera version}
MSG: {type: STRING, desc: dcamera unregister event}
DCAMERA_OPEN:
__BASE: {type: BEHAVIOR, level: MINOR, desc: dcamera open event}
DEVID: {type: STRING, desc: dcamera devId}
DHID: {type: STRING, desc: dcamera dhId}
MSG: {type: STRING, desc: dcamera open event}
DCAMERA_CLOSE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: dcamera close event}
DEVID: {type: STRING, desc: dcamera devId}
DHID: {type: STRING, desc: dcamera dhId}
MSG: {type: STRING, desc: dcamera close event}
DCAMERA_CAPTURE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: dcamera capture event}
WIDTH: {type: INT32, desc: dcamera width}
HEIGHT: {type: INT32, desc: dcamera height}
FORMAT: {type: INT32, desc: dcamera format}
ISCAPTURE: {type: STRING, desc: dcamera isCapture}
ENCODETYPE: {type: STRING, desc: dcamera encodeType}
STREAMTYPE: {type: STRING, desc: dcamera streamType}
MSG: {type: STRING, desc: dcamera capture event}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/handyohos/distributed_camera.git
git@gitee.com:handyohos/distributed_camera.git
handyohos
distributed_camera
distributed_camera
master

搜索帮助