mirror of
https://gitee.com/openharmony/distributedhardware_device_manager
synced 2024-11-23 08:19:49 +00:00
86079ced2d
Signed-off-by: Neil Chen <jingsi.chen@petalmail.com>
125 lines
5.6 KiB
YAML
125 lines
5.6 KiB
YAML
# 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 divided 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: DISTDM
|
|
|
|
DM_INIT_DEVICE_MANAGER_SUCCESS:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm init devicemanager success}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm init devicemanager success}
|
|
|
|
DM_INIT_DEVICE_MANAGER_FAILED:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm init devicemanager failed}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm init devicemanager failed}
|
|
|
|
START_DEVICE_DISCOVERY_SUCCESS:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: device manager discovery success}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: device manager discovery success}
|
|
|
|
START_DEVICE_DISCOVERY_FAILED:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: device manager discovery failed}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: device manager discovery failed}
|
|
|
|
GET_LOCAL_DEVICE_INFO_SUCCESS:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm get local device info success}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm get local device info success}
|
|
|
|
GET_LOCAL_DEVICE_INFO_FAILED:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm get local device info failed}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm get local device info failed}
|
|
|
|
DM_SEND_REQUEST_SUCCESS:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm send request success}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm send request success}
|
|
|
|
DM_SEND_REQUEST_FAILED:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm send request failed}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm send request failed}
|
|
|
|
ADD_HICHAIN_GROUP_SUCCESS:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm add member to group success}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm add member to group success}
|
|
|
|
ADD_HICHAIN_GROUP_FAILED:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm add member to group failed}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm add member to group failed}
|
|
|
|
DM_CREATE_GROUP_SUCCESS:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm create group success}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm create group success}
|
|
|
|
DM_CREATE_GROUP_FAILED:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dm create group failed}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: dm create group failed}
|
|
|
|
UNAUTHENTICATE_DEVICE_SUCCESS:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: unauthenticate device success}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: unauthenticate device success}
|
|
|
|
UNAUTHENTICATE_DEVICE_FAILED:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: unauthenticate device failed}
|
|
PID: {type: INT32, desc: devevicemanager pid}
|
|
UID: {type: INT32, desc: devevicemanager uid}
|
|
MSG: {type: STRING, desc: unauthenticate device failed}
|