2022-02-24 06:51:48 +00:00
|
|
|
# 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: GRAPHIC
|
|
|
|
|
|
|
|
NO_DRAW:
|
|
|
|
__BASE: {type: FAULT, level: MINOR, desc: graphic no draw}
|
2023-01-29 03:15:28 +00:00
|
|
|
PID: {type: INT32, desc: NO_DRAW the pid of current ability}
|
|
|
|
UID: {type: INT32, desc: NO_DRAW the uid of current ability}
|
|
|
|
ABILITY_NAME: {type: STRING, desc: NO_DRAW ability name}
|
|
|
|
MSG: {type: STRING, desc: NO_DRAW message}
|
2022-06-19 11:59:34 +00:00
|
|
|
|
|
|
|
JANK_FRAME_SKIP:
|
|
|
|
__BASE: {type: FAULT, level: MINOR, desc: graphic jank frame skip}
|
2023-01-29 03:15:28 +00:00
|
|
|
PID: {type: INT32, desc: JANK_FRAME_SKIP the pid of current ability}
|
|
|
|
UID: {type: INT32, desc: JANK_FRAME_SKIP the uid of current ability}
|
|
|
|
ABILITY_NAME: {type: STRING, desc: JANK_FRAME_SKIP ability name}
|
|
|
|
MSG: {type: STRING, desc: JANK_FRAME_SKIP message}
|
2022-07-10 14:43:48 +00:00
|
|
|
|
|
|
|
RS_COMPOSITION_TIMEOUT:
|
2022-07-13 13:51:10 +00:00
|
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: rs composition timeout}
|
2023-01-29 03:15:28 +00:00
|
|
|
PID: {type: INT32, desc: RS_COMPOSITION_TIMEOUT the pid of current ability}
|
|
|
|
UID: {type: INT32, desc: RS_COMPOSITION_TIMEOUT the uid of current ability}
|
|
|
|
BUNDLE_NAME: {type: STRING, desc: RS_COMPOSITION_TIMEOUT bundle name}
|
|
|
|
ABILITY_NAME: {type: STRING, desc: RS_COMPOSITION_TIMEOUT ability name}
|
2023-02-27 07:34:10 +00:00
|
|
|
MSG: {type: STRING, desc: RS_COMPOSITION_TIMEOUT message}
|
|
|
|
|
|
|
|
EPS_LCD_FREQ:
|
|
|
|
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: rs screen refresh rate change}
|
|
|
|
SOURCERATE: {type: INT32, desc: source refresh rate}
|
|
|
|
TARGETRATE: {type: INT32, desc: target refresh rate}
|
|
|
|
WIDTH: {type: INT32, desc: screen resolution width}
|
|
|
|
HEIGHT: {type: INT32, desc: screen resolution height}
|
2023-06-09 09:25:29 +00:00
|
|
|
|
|
|
|
JANK_STATS_RS:
|
|
|
|
__BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: jank statistic}
|
|
|
|
STARTTIME: {type: UINT32, desc: begin time since last report}
|
|
|
|
DURATION: {type: UINT32, desc: duration since last report}
|
|
|
|
JANK_STATS: {type: STRING, desc: jank frame stats}
|
|
|
|
JANK_STATS_VER: {type: UINT32, desc: jank range version}
|