-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhisysevent.yaml
114 lines (97 loc) · 4.48 KB
/
hisysevent.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# 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.
domain: SAMGR
SA_MAIN_EXIT:
__BASE: {type: FAULT, level: CRITICAL, desc: sa main abnormal exit}
REASON: {type: STRING, desc: sa main abnormal exit reason}
PROCESS_STOP_DURATION:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: ondemand process stop time cost}
PROCESS_NAME: {type: STRING, desc: process name}
PID: {type: INT32, desc: caller pid}
UID: {type: INT32, desc: caller uid}
DURATION: {type: INT64, desc: process stop time cost}
PROCESS_START_DURATION:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: ondemand process start time cost}
PROCESS_NAME: {type: STRING, desc: process name}
PID: {type: INT32, desc: caller pid}
UID: {type: INT32, desc: caller uid}
DURATION: {type: INT64, desc: process start time cost}
PROCESS_STOP_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: ondemand process stop failed event}
PROCESS_NAME: {type: STRING, desc: process name}
PID: {type: INT32, desc: caller pid}
UID: {type: INT32, desc: caller uid}
REASON: {type: STRING, desc: process stop fail reason}
PROCESS_START_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: ondemand process start failed event}
PROCESS_NAME: {type: STRING, desc: process name}
PID: {type: INT32, desc: caller pid}
UID: {type: INT32, desc: caller uid}
REASON: {type: STRING, desc: process start fail reason}
SA_CRASH:
__BASE: {type: FAULT, level: CRITICAL, desc: sa crash}
SAID: {type: INT32, desc: system ability id}
SA_LOAD_DURATION:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: samgr sa load time cost}
SAID: {type: INT32, desc: system ability id}
KEY_STAGE: {type: INT32, desc: load sa key stage}
DURATION: {type: INT64, desc: time cost}
SA_UNLOAD_DURATION:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: samgr sa unload time cost}
SAID: {type: INT32, desc: system ability id}
KEY_STAGE: {type: INT32, desc: unload sa key stage}
DURATION: {type: INT64, desc: time cost}
SA_UNLOAD_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: samgr sa unload failed event}
SAID: {type: INT32, desc: system ability id}
PID: {type: INT32, desc: caller pid}
UID: {type: INT32, desc: caller uid}
REASON: {type: STRING, desc: fail reason}
ONDEMAND_SA_LOAD_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: samgr sa load failed event}
SAID: {type: INT32, desc: system ability id}
PID: {type: INT32, desc: caller pid}
UID: {type: INT32, desc: caller uid}
REASON: {type: STRING, desc: fail reason}
ONDEMAND_SA_LOAD:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: samgr sa load event}
SAID: {type: INT32, desc: system ability id}
PID: {type: INT32, desc: caller pid}
UID: {type: INT32, desc: caller uid}
EVENT: {type: INT32, desc: load event id}
ONDEMAND_SA_UNLOAD:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: samgr sa unload event}
SAID: {type: INT32, desc: system ability id}
PID: {type: INT32, desc: caller pid}
UID: {type: INT32, desc: caller uid}
EVENT: {type: INT32, desc: unload event id}
GETSA_FREQUENCY:
__BASE: {type: STATISTIC, level: CRITICAL, desc: get system ability times event}
CALLER_UID: {type: UINT32, desc: caller uid}
SAID: {type: UINT32, desc: system ability id}
COUNT: {type: INT32, desc: the caller process get sa count}
ADD_SYSTEMABILITY_FAIL:
__BASE: {type: FAULT, level: CRITICAL, desc: add system ability failed event}
SAID: {type: INT32, desc: system ability id}
PID: {type: INT32, desc: caller pid}
UID: {type: INT32, desc: caller uid}
FILE_NAME: {type: STRING, desc: file name}
SERVICE_BLOCK:
__BASE: {type: FAULT, level: CRITICAL, desc: workhander watchdog block}
PID: {type: INT32, desc: caller pid}
UID: {type: UINT32, desc: caller uid}
MSG: {type: STRING, desc: time msg}
SA_IDLE:
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: sa idle event}
SAID: {type: INT32, desc: system ability id}
REASON: {type: STRING, desc: sa idle reason}