• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#  Copyright (c) 2022 Huawei Device Co., Ltd.
2#  Licensed under the Apache License, Version 2.0 (the "License");
3#  you may not use this file except in compliance with the License.
4#  You may obtain a copy of the License at
5#
6#      http://www.apache.org/licenses/LICENSE-2.0
7#
8#  Unless required by applicable law or agreed to in writing, software
9#  distributed under the License is distributed on an "AS IS" BASIS,
10#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11#  See the License for the specific language governing permissions and
12#  limitations under the License.
13
14domain: HIVIEWDFX
15
16PLUGIN_LOAD:
17  __BASE: {type: BEHAVIOR, level: CRITICAL, tag: hiviewPlugin, desc: load hiview plugin}
18  NAME: {type: STRING, desc: plugin name}
19  RESULT: {type: UINT32, desc: result of plugin loading}
20
21PLUGIN_UNLOAD:
22  __BASE: {type: BEHAVIOR, level: CRITICAL, tag: hiviewPlugin, desc: unload hiview plugin}
23  NAME: {type: STRING, desc: plugin name}
24  RESULT: {type: UINT32, desc: result of plugin unloading}
25
26PLUGIN_STATS:
27  __BASE: {type: STATISTIC, level: CRITICAL, tag: hiviewPlugin, desc: statistics of events handled by plugins}
28  NAME: {type: STRING, desc: plugin name}
29  AVG_TIME: {type: UINT32, desc: average time spent}
30  TOP_K_TIME: {type: UINT32, arrsize: 3, desc: K times that took the most time}
31  TOP_K_EVENT: {type: STRING, arrsize: 3, desc: K events that took the most time}
32  TOTAL: {type: UINT32, desc: total events}
33
34PLUGIN_FAULT:
35  __BASE: {type: FAULT, level: CRITICAL, tag: hiviewPlugin, desc: plugin fault}
36  NAME: {type: STRING, desc: plugin name}
37  REASON: {type: STRING, desc: reason of plugin fault}
38
39APP_USAGE:
40  __BASE: {type: STATISTIC, level: CRITICAL, tag: usageStats, desc: application usage statistics}
41  PACKAGE: {type: STRING, desc: package name}
42  VERSION: {type: STRING, desc: version name}
43  USAGE: {type: UINT32, desc: usage duration}
44  DATE: {type: STRING, desc: usage date}
45
46SYS_USAGE:
47  __BASE: {type: STATISTIC, level: CRITICAL, tag: usageStats, desc: system usage statistics}
48  START: {type: UINT64, desc: start time}
49  END: {type: UINT64, desc: end time}
50  POWER: {type: UINT64, desc: power_on duration}
51  SCREEN: {type: UINT64, desc: screen_on duration}
52  RUNNING: {type: UINT64, desc: running duration}
53
54PROFILE_STAT:
55  __BASE: {type: STATISTIC, level: CRITICAL, desc: hisysevent profile status}
56  MAX_TOTAL_COUNT: {type: UINT32, desc: maximum total count}
57  MAX_TOTAL_SIZE: {type: UINT32, desc: maximum total size}
58  DOMAINS: {type: STRING, arrsize: 100, desc: measured domains}
59  DOMAIN_DETAIL: {type: UINT32, arrsize: 100, desc: domain detail}
60  TOTAL_COUNT: {type: UINT32, desc: total count}
61  TOTAL_SIZE: {type: UINT32, desc: total size}
62  BREAK_COUNT: {type: UINT8, desc: break count}
63  BREAK_DURATION: {type: UINT64, desc: break duration}
64  MIN_SPEED: {type: UINT32, desc: minimum speed}
65  MAX_SPEED: {type: UINT32, desc: maximum speed}
66  REAL_COUNT: {type: UINT32, arrsize: 10, desc: real time cost distribution}
67  PROCESS_COUNT: {type: UINT32, arrsize: 10, desc: process time cost distribution}
68  WAIT_COUNT: {type: UINT32, arrsize: 10, desc: wait count cost distribution}
69  FINISHED_COUNT: {type: UINT32, desc: finished count}
70  OVER_REAL_COUNT: {type: UINT32, desc: over real time benchmark count}
71  OVER_REAL_PCT: {type: UINT32, desc: over real time benchmark percentage}
72  OVER_PROC_COUNT: {type: UINT32, desc: over process time cost benchmark count}
73  OVER_PROC_PCT: {type: UINT32, desc: over process time cost percentage}
74
75BREAK:
76  __BASE: {type: BEHAVIOR, level: CRITICAL, desc: hisysevent is break}
77  TOTAL_COUNT: {type: UINT32, desc: total count}
78  TOTAL_SIZE: {type: UINT32, desc: total size}
79  REAL_SPEED: {type: UINT32, desc: real time of handle hisysevent each second}
80  PROC_SPEED: {type: UINT32, desc: process time of handle hisysevent each second}
81  AVG_REAL_TIME: {type: DOUBLE, desc: average real time cost}
82  AVG_PROC_TIME: {type: DOUBLE, desc: average process time cost}
83  AVG_WAIT_TIME: {type: DOUBLE, desc: average wait time cost}
84  TOP_EVENT: {type: STRING, arrsize: 3, desc: topN events}
85  TOP_EVENT_COUNT: {type: UINT32, arrsize: 3, desc: count of topN events}
86  TOP_DOMAIN: {type: STRING, arrsize: 3, desc: topN domains}
87  TOP_DOMAIN_COUNT: {type: UINT32, arrsize: 3, desc: count of topN domains}
88
89RECOVER:
90  __BASE: {type: BEHAVIOR, level: CRITICAL, desc: hisysevent is recover}
91  DURATION: {type: INT64, desc: recover after break duration}
92
93XPOWER_STACKTRACE:
94  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: stack trace info}
95  TAGNAME: {type: STRING,  desc: tag name}
96  INFO: {type: STRING,  desc: additional information}
97  STACKTRACE: {type: STRING,  desc: stack data}
98