-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathhisysevent.yaml
621 lines (579 loc) · 32.1 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
# 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.
#####################################################
# SoftBus hisysevent definition #
#####################################################
domain: DSOFTBUS
DISCOVER_BEHAVIOR:
__BASE: {type: BEHAVIOR, level: MINOR, desc: discovery behavior }
ORG_PKG: {type: STRING, desc: organization module name }
FUNC: {type: STRING, desc: current function name }
HOST_PKG: {type: STRING, desc: host module name }
BIZ_SCENE: {type: INT32, desc: business scene }
BIZ_STAGE: {type: INT32, desc: business stage }
STAGE_RES: {type: INT32, desc: stage result }
ERROR_CODE: { type: INT32, desc: error code }
INIT_TYPE: { type: INT32, desc: init type }
SERVER_TYPE: { type: INT32, desc: server type }
INTERFACE_FUNC_TYPE: { type: INT32, desc: interface func type }
CAPABILITY_BIT: { type: INT32, desc: capability bit map }
CAPABILITY_DATA: { type: INT32, desc: capability data }
BLE_TURN_STATE: { type: INT32, desc: ble turn state }
IP_LINK_STATUS: { type: INT32, desc: ip link status }
COAP_CHANGE_TYPE: { type: INT32, desc: coap change type }
BROADCAST_TYPE: { type: INT32, desc: broadcast type }
BROADCAST_FREQ: { type: INT32, desc: broadcast frequency }
SCAN_TYPE: { type: INT32, desc: scan type }
SCAN_CYCLE: { type: STRING, desc: scan duty cycle }
DISC_TYPE: { type: INT32, desc: discovery type }
DISC_MODE: { type: INT32, desc: discovery mode }
FIRST_DISCOVERY_TIME: { type: INT32, desc: time consuming to discover for the first time }
LOCAL_NET_ID: { type: STRING, desc: local device net id }
PEER_IP: { type: STRING, desc: peer device ip }
PEER_BR_MAC: { type: STRING, desc: peer device br mac }
PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
PEER_WIFI_MAC: { type: STRING, desc: peer device wifi mac }
PEER_PORT: { type: STRING, desc: peer device port }
PEER_NET_ID: { type: STRING, desc: peer device net id }
PEER_DEV_TYPE: { type: STRING, desc: peer device type }
OS_TYPE: { type: INT32, desc: peer os type}
DISCOVER_AUDIT:
__BASE: {type: SECURITY, level: CRITICAL, desc: discovery security audit }
ORG_PKG: {type: STRING, desc: organization module name }
FUNC: {type: STRING, desc: current function name }
HOST_PKG: {type: STRING, desc: host module name }
BIZ_SCENE: {type: INT32, desc: business scene }
RESULT: { type: INT32, desc: deal result }
ERROR_CODE: { type: INT32, desc: error code }
AUDIT_TYPE: {type: INT32, desc: audit type }
BROADCAST_TYPE: { type: INT32, desc: broadcast type }
BROADCAST_FREQ: { type: INT32, desc: broadcast frequency }
ADV_COUNT: { type: INT32, desc: advertise count }
ADV_DURATION: { type: INT32, desc: advertise duration }
SCAN_INTERVAL: { type: INT32, desc: scan interval }
SCAN_WINDOW: { type: INT32, desc: scan window }
DISC_MODE: { type: INT32, desc: discovery mode }
MEDIUM_TYPE: { type: INT32, desc: medium type }
ADV_CHANNEL: { type: INT32, desc: adv channel }
SCAN_TYPE: { type: INT32, desc: scan type }
SCAN_ID: { type: INT32, desc: scan id }
SCAN_LISTENER_ID: { type: INT32, desc: scan listener id }
LOCAL_UDID: { type: STRING, desc: local device udid }
LOCAL_DEV_NAME: { type: STRING, desc: local device name }
LOCAL_DEV_TYPE: { type: STRING, desc: local device type }
LOCAL_ACCOUNT_HASH: { type: STRING, desc: local account hash }
LOCAL_CAPABILITY_BITMAP: { type: INT32, desc: local capability bitmap }
LOCAL_CUST_DATA: { type: STRING, desc: local cust data }
LOCAL_IP: { type: STRING, desc: local device ip }
LOCAL_PORT: { type: INT32, desc: local device port }
LOCAL_BR_MAC: { type: STRING, desc: local device br mac }
LOCAL_BLE_MAC: { type: STRING, desc: local device ble mac }
PEER_UDID: { type: STRING, desc: peer device udid }
PEER_DEV_NAME: { type: STRING, desc: peer device name }
PEER_DEV_TYPE: { type: STRING, desc: peer device type }
PEER_ACCOUNT_HASH: { type: STRING, desc: peer account hash }
PEER_CAPABILITY_BITMAP: { type: INT32, desc: peer capability bitmap }
PEER_CUST_DATA: { type: STRING, desc: peer cust data }
PEER_IP: { type: STRING, desc: peer device ip }
PEER_PORT: { type: INT32, desc: peer device port }
PEER_BR_MAC: { type: STRING, desc: peer device br mac }
PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
ERR_MSG: { type: STRING, desc: error message }
ADDITIONAL_INFO: { type: STRING, desc: additional information }
BUSCENTER_BEHAVIOR:
__BASE: {type: BEHAVIOR, level: MINOR, desc: bus center behavior }
ORG_PKG: {type: STRING, desc: organization module name }
FUNC: {type: STRING, desc: current function name }
HOST_PKG: {type: STRING, desc: host module name }
TO_CALL_PKG: {type: STRING, desc: to call module name }
BIZ_SCENE: {type: INT32, desc: business scene }
BIZ_STAGE: {type: INT32, desc: business stage }
STAGE_RES: {type: INT32, desc: stage result }
ERROR_CODE: { type: INT32, desc: error code }
AUTH_ID: { type: INT32, desc: auth id }
DISC_SERVER_TYPE: {type: INT32, desc: disc server type }
GEAR_CYCLE: {type: INT32, desc: gear cycle }
GEAR_DURATION: {type: INT32, desc: gear duration }
CONN_ID: { type: INT32, desc: connection id }
AUTH_LINK_TYPE: { type: INT32, desc: auth link type }
AUTH_COST_TIME: { type: INT32, desc: auth cost time }
LNN_TYPE: { type: INT32, desc: lnn type }
ONLINE_NUM: { type: INT32, desc: current online device num }
PEER_DEV_ABILITY: { type: INT32, desc: peer device ability }
ONLINE_TYPE: { type: INT32, desc: online type }
OS_TYPE: { type: INT32, desc: os type }
CONN_ONLINE_REASON: { type: UINT32, desc: connect online reason }
STRATEGY_FOR_LNN_BLE: { type: UINT32, desc: strategy for lnn ble }
TIME_LATENCY: { type: UINT64, desc: time latency }
TRIGGER_REASON: { type: INT32, desc: lnn trigger reason }
AUTH_SEQ: { type: INT64, desc: auth seq }
ONLINE_DEV_CNT: { type: INT32, desc: current online device num for time latency }
INTERVAL: { type: INT32, desc: broadcast interval }
LANE_LINK_TYPE: { type: INT32, desc: lane link type }
HML_CHANNEL_ID: { type: INT32, desc: hml channel id }
P2P_CHANNEL_ID: { type: INT32, desc: p2p channel id }
STA_CHANNEL_ID: { type: INT32, desc: sta channel id }
AP_CHANNEL_ID: { type: INT32, desc: ap channel id }
PEER_DEV_INFO: { type: STRING, desc: peer device lnn info }
PEER_IP: { type: STRING, desc: peer device ip }
PEER_BR_MAC: { type: STRING, desc: peer device br mac }
PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
PEER_WIFI_MAC: { type: STRING, desc: peer device wifi mac }
PEER_PORT: { type: STRING, desc: peer device port }
PEER_UDID: { type: STRING, desc: peer device udid }
PEER_NET_ID: { type: STRING, desc: peer device net id }
LOCAL_DEV_TYPE: { type: STRING, desc: local device type }
PEER_DEV_TYPE: { type: STRING, desc: peer device type }
LOCAL_UDID_HASH: { type: STRING, desc: local device udid hash}
PEER_UDID_HASH: { type: STRING, desc: peer device udid hash}
BUSCENTER_AUDIT:
__BASE: {type: SECURITY, level: CRITICAL, desc: bus center security audit }
BIZ_SCENE: {type: INT32, desc: business scene }
BIZ_STAGE: {type: INT32, desc: business stage }
ORG_PKG: {type: STRING, desc: organization module name }
FUNC: {type: STRING, desc: current function name }
HOST_PKG: {type: STRING, desc: host module name }
RESULT: {type: INT32, desc: deal result }
ERROR_CODE: {type: INT32, desc: error code }
AUDIT_TYPE: {type: INT32, desc: audit type }
CONN_ID: {type: INT32, desc: connection id }
AUTH_LINK_TYPE: {type: INT32, desc: auth link type }
AUTH_REQUEST_ID: {type: INT32, desc: auth request id }
ONLINE_NUM: {type: INT32, desc: current online device num }
LOCAL_IP: {type: STRING, desc: local device ip }
LOCAL_BR_MAC: {type: STRING, desc: local device br mac }
LOCAL_BLE_MAC: {type: STRING, desc: local device ble mac }
LOCAL_UDID: {type: STRING, desc: local device udid }
LOCAL_NETWORK_ID: {type: STRING, desc: local device network id }
LOCAL_DEV_NAME: {type: STRING, desc: local device name }
PEER_IP: {type: STRING, desc: peer device ip }
PEER_BR_MAC: {type: STRING, desc: peer device br mac }
PEER_BLE_MAC: {type: STRING, desc: peer device ble mac }
PEER_UDID: {type: STRING, desc: peer device udid }
PEER_NETWORK_ID: {type: STRING, desc: peer device network id }
PEER_DEV_NAME: {type: STRING, desc: peer device name }
LOCAL_AUTH_PORT: {type: INT32, desc: local device auth port}
LOCAL_PROXY_PORT: {type: INT32, desc: local device proxy port }
LOCAL_SESSION_PORT: {type: INT32, desc: local device session port }
LOCAL_DEV_TYPE: {type: INT32, desc: local device type }
PEER_AUTH_PORT: {type: INT32, desc: peer device auth port }
PEER_PROXY_PORT: {type: INT32, desc: peer device proxy port }
PEER_SESSION_PORT: {type: INT32, desc: peer device session port }
PEER_DEV_TYPE: {type: INT32, desc: peer device type }
ATTACK_TIMES: {type: INT32, desc: attack times }
BE_ATTACKED_PORT: {type: INT32, desc: be attacked port }
HEARTBEAT_EVENT_TYPE: {type: INT32, desc: heartbeat event type }
TRANSPORT_BEHAVIOR:
__BASE: {type: BEHAVIOR, level: MINOR, desc: transport behavior }
ORG_PKG: {type: STRING, desc: organization module name }
FUNC: {type: STRING, desc: current function name }
HOST_PKG: {type: STRING, desc: host module name }
TO_CALL_PKG: {type: STRING, desc: to call module name }
BIZ_SCENE: {type: INT32, desc: business scene }
BIZ_STAGE: {type: INT32, desc: business stage }
STAGE_RES: {type: INT32, desc: stage result }
ERROR_CODE: { type: INT32, desc: error code }
SESSION_NAME: {type: STRING, desc: session name }
DATA_TYPE: { type: INT32, desc: channel data type }
LOGIC_CHAN_TYPE: { type: INT32, desc: logic channel type }
LANE_ID: { type: INT32, desc: lane id }
PREFER_LINK_TYPE: { type: INT32, desc: preferred link type }
LANE_TRANS_TYPE: { type: INT32, desc: transport lane data type }
CHAN_ID: { type: INT32, desc: channel id }
REQ_ID: { type: INT32, desc: request id }
CONN_ID: { type: INT32, desc: connection id }
LINK_TYPE: { type: INT32, desc: link type }
AUTH_ID: { type: INT32, desc: auth id }
SOCKET_FD: { type: INT32, desc: socket fd }
TIME_CONSUMING: { type: INT32, desc: total cost time}
CHAN_SCORE: { type: INT32, desc: channel score }
PEER_CHAN_ID: { type: INT32, desc: peer channel id }
PEER_NET_ID: { type: STRING, desc: peer device net id }
PEER_UDID: { type: STRING, desc: peer udid }
PEER_DEV_VER: { type: STRING, desc: peer device build version }
LOCAL_UDID: { type: STRING, desc: local udid }
OS_TYPE: { type: INT32, desc: os type }
SESSION_ID: { type: INT32, desc: session id }
DEVICE_STATE: { type: INT32, desc: device state }
FIRST_TOKEN_NAME: { type: STRING, desc: first token name }
FIRST_TOKEN_ID: { type: UINT64, desc: first token id }
FIRST_TOKEN_TYPE: { type: INT32, desc: first token type }
TRANSPORT_AUDIT:
__BASE: {type: SECURITY, level: CRITICAL, desc: transport recurity audit }
ORG_PKG: {type: STRING, desc: business module name }
FUNC: {type: STRING, desc: function name }
HOST_PKG: {type: STRING, desc: host module name }
BIZ_SCENE: {type: INT32, desc: business scene }
RESULT: {type: INT32, desc: deal result }
ERROR_CODE: { type: INT32, desc: error code }
AUDIT_TYPE: {type: INT32, desc: audit type }
LOCAL_IP: { type: STRING, desc: local device ip }
LOCAL_PORT: { type: STRING, desc: local device port }
LOCAL_DEV_ID: { type: STRING, desc: local device id }
LOCAL_DEV_TYPE: { type: INT32, desc: local device type }
LOCAL_SESS_NAME: { type: STRING, desc: local session name }
LOCAL_CHANNEL_ID: { type: INT32, desc: local channel id }
PEER_IP: { type: STRING, desc: peer device ip }
PEER_PORT: { type: STRING, desc: peer device port }
PEER_DEV_ID: { type: STRING, desc: peer device id }
PEER_DEV_TYPE: { type: INT32, desc: peer device type }
PEER_SESS_NAME: { type: STRING, desc: peer session name }
PEER_CHANNEL_ID: { type: INT32, desc: peer channel id }
CHANNEL_TYPE: { type: INT32, desc: channel type }
AUTH_ID: { type: INT32, desc: auth id }
REQ_ID: { type: INT32, desc: request id }
LINK_TYPE: { type: INT32, desc: link type }
CONN_ID: { type: INT32, desc: connection id }
SOCKET_FD: { type: INT32, desc: socket fd }
DATA_TYPE: { type: INT32, desc: channel data type }
DATA_LEN: { type: INT32, desc: channel data length }
DATA_SEQ: { type: INT32, desc: channel data seq }
COST_TIME: { type: INT32, desc: total cost time}
DATA_TRAFFIC: { type: INT32, desc: data traffic }
REQ_COUNT: { type: INT32, desc: request cpunt }
CONNECTION_BEHAVIOR:
__BASE: {type: BEHAVIOR, level: MINOR, desc: connection behavior }
ORG_PKG: {type: STRING, desc: organization module name }
FUNC: {type: STRING, desc: current function name }
HOST_PKG: {type: STRING, desc: host module name }
TO_CALL_PKG: {type: STRING, desc: to call module name }
BIZ_SCENE: {type: INT32, desc: business scene }
BIZ_STAGE: {type: INT32, desc: business stage }
STAGE_RES: {type: INT32, desc: stage result }
ERROR_CODE: { type: INT32, desc: error code }
CONN_ID: { type: INT32, desc: connection id }
REQ_ID: { type: INT32, desc: request id }
LINK_TYPE: { type: INT32, desc: link type }
AUTH_TYPE: { type: INT32, desc: auth type }
AUTH_ID: { type: INT32, desc: auth id }
LNN_TYPE: { type: STRING, desc: lnn type }
EXPECT_ROLE: { type: INT32, desc: expect role }
COST_TIME: { type: INT32, desc: total cost time }
RSSI: { type: INT32, desc: rssi }
CHLOAD: { type: INT32, desc: chload }
FREQ: { type: INT32, desc: frequency }
CONN_PROTOCOL: { type: INT32, desc: connection protocol }
CONN_ROLE: { type: INT32, desc: connection role }
CONN_RC_DELTA: { type: INT32, desc: connection request count delta }
CONN_RC: { type: INT32, desc: connection request count }
SUPT_FEATURE: { type: INT32, desc: support feature }
MODULE_ID: { type: INT32, desc: module id }
PROTOCOL_TYPE: { type: UINT32, desc: protocol type }
FD: { type: INT32, desc: local fd }
CFD: { type: INT32, desc: client fd when local is server side }
CHALLENGE_CODE: { type: STRING, desc: challenge code }
PEER_IP: { type: STRING, desc: peer device ip }
PEER_BR_MAC: { type: STRING, desc: peer device br mac }
PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
PEER_WIFI_MAC: { type: STRING, desc: peer device wifi mac }
PEER_PORT: { type: STRING, desc: peer device port }
PEER_NET_ID: { type: STRING, desc: peer network id }
PEER_UDID: { type: STRING, desc: peer udid }
PEER_DEV_TYPE: { type: STRING, desc: peer device type }
LOCAL_NET_ID: { type: STRING, desc: local network id }
BOOT_LINK_TYPE: { type: INT32, desc: boot link type }
IS_RENEGOTIATE: { type: INT32, desc: is renegotiate }
IS_REUSE: { type: INT32, desc: is reuse }
NEGOTIATE_TIME: { type: UINT64, desc: negotiate time }
LINK_TIME: { type: UINT64, desc: link time }
CONNECTION_AUDIT:
__BASE: {type: SECURITY, level: CRITICAL, desc: connection security audit }
ORG_PKG: {type: STRING, desc: organization module name }
FUNC: {type: STRING, desc: current function name }
HOST_PKG: {type: STRING, desc: host module name }
TO_CALL_PKG: {type: STRING, desc: to call module name }
BIZ_SCENE: {type: INT32, desc: business scene }
ERROR_CODE: { type: INT32, desc: error code }
AUDIT_TYPE: {type: INT32, desc: audit type }
CONN_ID: { type: INT32, desc: connection id }
REQ_ID: { type: INT32, desc: request id }
LINK_TYPE: { type: INT32, desc: link type }
EXPECT_ROLE: { type: INT32, desc: expect role }
COST_TIME: { type: INT32, desc: total cost time}
CONN_TIMES: { type: INT32, desc: connect times }
FREQ: { type: STRING, desc: frequency}
CHALLENGE_CODE: { type: STRING, desc: challenge code }
PEER_BR_MAC: { type: STRING, desc: peer device br mac }
LOCAL_BR_MAC: { type: STRING, desc: local br mac }
PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
LOCAL_BLE_MAC: { type: STRING, desc: local ble mac }
PEER_WIFI_MAC: { type: STRING, desc: peer wifi mac }
PEER_DEV_TYPE: { type: STRING, desc: peer device type }
PEER_UDID: { type: STRING, desc: peer device udid }
LOCAL_UDID: { type: STRING, desc: local ble udid }
CONN_PAYLOAD: { type: STRING, desc: payload data }
LOCAL_DEV_NAME: { type: STRING, desc: local device name }
PEER_IP: { type: STRING, desc: peer device ip }
LOCAL_IP: { type: STRING, desc: loca ip }
PEER_PORT: { type: STRING, desc: peer port }
LOCAL_PORT: { type: STRING, desc: local port }
IPC_BEHAVIOR:
__BASE: {type: BEHAVIOR, level: MINOR, desc: softbus ipc behavior dotting event }
ORG_PKG: {type: STRING, desc: business package name }
FUNC: {type: STRING, desc: fuction name}
BIZ_SCENE: {type: INT32, desc: business scene }
BIZ_STAGE: {type: INT32, desc: eack scene process stage }
STAGE_RES: {type: INT32, desc: stage result }
BIZ_STATE: {type: INT32, desc: current business result }
ERROR_CODE: {type: INT32, desc: error code }
COMM_TYPE: {type: INT32, desc: ipc communication type }
HOST_PKG: {type: STRING, desc: host package name }
TO_CALL_PKG: {type: STRING, desc: called package name }
FIRST_DISC_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: first discovery device duration }
SOFT_BUS_VERSION: {type: STRING, desc: softbus version }
PACKAGE_VERSION: {type: STRING, desc: package version }
LINK_TYPE: {type: UINT32, desc: link type ble 1 wlan 2 }
TOTAL_TIME: {type: UINT64, desc: total duration ms }
TOTAL_COUNT: {type: UINT32, desc: total count }
COUNT1: { type: UINT32, desc: number of times that the duration is longer than 500ms }
COUNT2: { type: UINT32, desc: number of times that the duration is longer than 1000ms }
COUNT3: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
COUNT4: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
COUNT5: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
DISCOVERY_DETAILS:
__BASE: {type: STATISTIC, level: MINOR, desc: ble discovery details }
MODULE: {type: STRING, desc: module }
DISCTYPE: {type: UINT32, desc: discovery type }
DURATION: {type: UINT64, desc: discovery duration }
REPTIMES: {type: UINT32, desc: report times }
DEVNUM: {type: UINT32, desc: report times }
DISCTIMES: {type: UINT32, desc: discovery times }
DISCOVERY_BLE_RSSI:
__BASE: {type: STATISTIC, level: MINOR, desc: ble discovery rssi }
RANGEID: {type: UINT32, arrsize: 52, desc: range id }
RANGEDATA: {type: UINT32, arrsize: 52, desc: range data }
CONN_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: statistic the connection duration }
SOFT_BUS_VERSION: { type: STRING, desc: softbus version }
PACKAGE_VERSION: { type: STRING, desc: package version }
CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name }
LINK_TYPE: { type: UINT32, desc: link type br 0 ble 1 wlan 2 p2p 3 hml 4 }
FAIL_TOTAL_TIME: { type: UINT64, desc: fail total duration ms }
FAIL_TOTAL_COUNT: { type: UINT32, desc: fail total count }
TOTAL_TIME: { type: UINT64, desc: total duration ms }
TOTAL_COUNT: { type: UINT32, desc: total count }
COUNT1: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
COUNT2: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
COUNT3: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
COUNT4: { type: UINT32, desc: number of times that the duration is longer than 3000ms }
COUNT5: { type: UINT32, desc: number of times that the duration is longer than 4000ms }
PROCESS_STEP_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: statistic the p2p or hml process duration }
SOFT_BUS_VERSION: { type: STRING, desc: softbus version }
PACKAGE_VERSION: { type: STRING, desc: package version }
PROCESS_STEP: {type: UINT32, desc: process step }
LINK_TYPE: { type: UINT32, desc: link type br 0 ble 1 wlan 2 p2p 3 hml 4 }
TOTAL_TIME: { type: UINT64, desc: total duration ms }
TOTAL_COUNT: { type: UINT32, desc: total count }
COUNT1: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
COUNT2: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
COUNT3: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
COUNT4: { type: UINT32, desc: number of times that the duration is longer than 3000ms }
COUNT5: { type: UINT32, desc: number of times that the duration is longer than 4000ms }
TRANSPORT_KPI:
__BASE: {type: STATISTIC, level: MINOR, desc: success rate of establishing softbus transmission}
LINK_TYPE: {type: INT32, desc: linktype}
TOTAL_TIME: {type: INT64, desc: total duration ms}
TOTAL_COUNT: {type: INT32, desc: total count}
FAIL_TOTAL_TIME: {type: INT64, desc: fail total time ms}
FAIL_TOTAL_COUNT: {type: INT32, desc: fail total count}
PACKAGE_VERSION: {type: STRING, desc: package version}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
COUNT1: {type: INT32, desc: Number of times that the duration is longer than 1s}
COUNT2: {type: INT32, desc: Number of times that the duration is longer than 2s}
COUNT3: {type: INT32, desc: Number of times that the duration is longer than 4s}
COUNT4: {type: INT32, desc: Number of times that the duration is longer than 7s}
COUNT5: {type: INT32, desc: Number of times that the duration is longer than 11s}
CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name}
CALLED_API_INFO:
__BASE: {type: STATISTIC, level: MINOR, desc: api called APP infor}
APP_NAME: {type: STRING, desc: caller package name}
API_NAME: {type: STRING, desc: called api name}
TOTAL_COUNT: {type: INT32, desc: total count}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: package version}
CALLED_API_CNT:
__BASE: {type: STATISTIC, level: MINOR, desc: api called count}
API_NAME: {type: STRING, desc: called api name}
TOTAL_COUNT: {type: INT32, desc: total count}
TRANS_OPEN_SESSION_CNT:
__BASE: {type: STATISTIC, level: MINOR, desc: the success count and the fail count of open session }
SUCCESS_CNT: {type: UINT32, desc: the success count of open session }
FAIL_CNT: {type: UINT32, desc: the fail count of open session }
SUCCESS_RATE: {type: FLOAT, desc: the success rate of open session }
TRANS_OPEN_SESSION_TIME_COST:
__BASE: {type: STATISTIC, level: MINOR, desc: the time comsuming of open session }
MAX_TIME_COST: {type: UINT32, desc: the max time comsuming of open session }
MIN_TIME_COST: {type: UINT32, desc: the min time comsuming of open session }
AVE_TIME_COST: {type: UINT32, desc: the average time comsuming of open session }
TIMES_UNDER_500MS: {type: UINT32, desc: the times unders 500ms of open session }
TIMES_BETWEEN_500MS_1S: {type: UINT32, desc: the times between 500ms to 1s of open session }
TIMES_BETWEEN_1S_2S: {type: UINT32, desc: the times between 1s to 2s of open session }
TIMES_ABOVE_2S: {type: UINT32, desc: the times above 2s of open session }
TRANS_FAULT:
__BASE: {type: FAULT, level: CRITICAL, desc: the transmission fail }
ERROR_CODE: {type: INT32, desc: error code }
TRANS_INFO:
__BASE: {type: BEHAVIOR, level: MINOR, desc: the transmission info }
ERROR_CODE: {type: STRING, desc: info msg or err msg }
BUS_CENTER_FAULT_EVT:
__BASE: {type: FAULT, level: CRITICAL, desc: bus center all the exception}
MODULE_TYPE: {type: UINT32, desc: module type}
LINK_TYPE: {type: UINT32, desc: connection type}
CHANNEL_QUALITY: {type: FLOAT, desc: channel quality}
ERROR_CODE: {type: UINT32, desc: error code}
PEER_DEVICE_TYPE: {type: UINT32, desc: peer device type}
ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count}
CONNECTION_NUM: {type: UINT32, desc: connected device count}
NIGHT_MODE: {type: UINT32, desc: night mode}
WIFI_STATUS: {type: UINT32, desc: wifi status}
BLUETOOTH_STATUS: {type: UINT32, desc: bluetooth status}
CALLER_APP_MODE: {type: UINT32, desc: caller app mode}
SUB_ERROR_CODE: {type: UINT32, desc: sub error code}
CONN_BR_NUM: {type: UINT32, desc: the count of device connected by br}
CONN_BLE_NUM: {type: UINT32, desc: the count of device connected by ble}
BLUETOOTH_BROADCAST_STATUS: {type: BOOL, desc: bluetooth broadcast status}
BLUETOOTH_SCAN_STATUS: {type: BOOL, desc: bluetooth scan status}
BUSUNINESS_NAME: {type: STRING, desc: caller business name}
CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name}
REMOTE_BIZ_TRUNCATED_UUID: {type: STRING, desc: remote biz truncated uuid}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
ONLINE_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: the time comsuming of online}
TOTAL_TIME: {type: UINT64, desc: device online total time}
TOTAL_COUNT: {type: UINT32, desc: device online total count}
COUNT1: {type: UINT32, desc: the times above 10s of online}
COUNT2: {type: UINT32, desc: the times above 30s of online}
COUNT3: {type: UINT32, desc: the times above 5min of online}
COUNT4: {type: UINT32, desc: the times above 10min of online}
COUNT5: {type: UINT32, desc: the times above 15min of online}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
AUTH_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic auth rate and time cost}
LINK_TYPE: {type: UINT32, desc: connection type}
TOTAL_TIME: {type: UINT64, desc: the total time cost of auth}
TOTAL_COUNT: {type: UINT32, desc: device auth total count}
COUNT1: {type: UINT32, desc: the times above 2000ms of single auth}
COUNT2: {type: UINT32, desc: the times above 2500ms of single auth}
COUNT3: {type: UINT32, desc: the times above 3000ms of single auth}
COUNT4: {type: UINT32, desc: the times above 3500ms of single auth}
COUNT5: {type: UINT32, desc: the times above 4000ms of single auth}
FAIL_TOTAL_COUNT: {type: UINT32, desc: auth failed total count}
FAIL_TOTAL_TIME: {type: UINT64, desc: auth failed total time}
CONNECT_FAIL_TOTAL_COUNT: {type: UINT32, desc: connect failed total count}
AUTH_FAIL_TOTAL_COUNT: {type: UINT32, desc: auth failed total count}
EXCHANGE_FAIL_TOTAL_COUNT: {type: UINT32, desc: exchange info failed total count}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
BUS_CENTER_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic bus center lnn duration}
LINK_TYPE: {type: UINT32, desc: connection type}
TOTAL_TIME: {type: UINT64, desc: the total time cost of lnn}
TOTAL_COUNT: {type: UINT32, desc: lnn total count}
COUNT1: {type: UINT32, desc: the times above 800ms of single lnn}
COUNT2: {type: UINT32, desc: the times above 1000ms of single lnn}
COUNT3: {type: UINT32, desc: the times above 1200ms of single lnn}
COUNT4: {type: UINT32, desc: the times above 1500ms of single lnn}
COUNT5: {type: UINT32, desc: the times above 1800ms of single lnn}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
DEVICE_ONLINE_EVT:
__BASE: {type: STATISTIC, level: MINOR, desc: report the online device info}
ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count}
BT_ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count connection medium is bt}
WIFI_ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count connection medium is wifi}
PEER_DEVICE_TYPE: {type: UINT32, desc: peer device type}
INSERT_PROFILE_RESULT: {type: UINT32, desc: the result of insert device info to profile}
PEER_SOFT_BUS_VERSION: {type: STRING, desc: softbus version of peer device}
PEER_DEVICE_NAME: {type: STRING, desc: device name of peer device}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version of local device}
PEER_PACKAGE_VERSION: {type: STRING, desc: softbus package version of peer device}
PACKAGE_VERSION: {type: STRING, desc: softbus package version of local device}
DEVICE_DISCOVERY:
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic device discovery count}
START_DISCOVERY_COUNT: {type: UINT64, desc: start discovery count}
SEND_BROADCAST_COUNT: {type: UINT64, desc: send broadcast count}
RECEIVE_BROADCAST_COUNT: {type: UINT64, desc: receiver broadcast count}
DEVICE_FOUND_COUNT: {type: UINT64, desc: device found count}
BUSINESS_DISCOVERY_COUNT: {type: UINT64, desc: business discovery count}
BUSINESS_DISCOVERY_DETAIL: {type: STRING, desc: business discovery detail info}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
APP_DISCOVERY:
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic app discovery count}
APP_NAME: {type: STRING, desc: name of app who discovery device}
APP_DISCOVERY_COUNT: {type: UINT32, desc: app discovery count}
DFILE_WAIT_HEADER_TIMEOUT_EVT:
__BASE: {type: FAULT, level: CRITICAL, desc: wait file header time out}
ERROR_CODE: {type: STRING, desc: error code}
DFILE_SERVER_CREATE_EVT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: server created}
DFILE_CLIENT_CREATE_EVT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: client created}
DFILE_SEND_BEGIN_EVT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: send begin}
DFILE_PEER_SHUTTED_EVT:
__BASE: {type: FAULT, level: CRITICAL, desc: peer shutted}
DFILE_TRANS_COMPLETE_EVT:
__BASE: {type: STATISTIC, level: MINOR, desc: transfer complete}
TRANSRATE: {type: STRING, desc: transmission speed}
DFILE_ACCEPT_SOCKET_EVT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: accept socket}
FILLP_LINK_EVT:
__BASE: {type: FAULT, level: MINOR, desc: fillp link disconnect}
SOCK_IDX: {type: UINT32, desc: fillp socket index}
LINK_EVT_TYPE: {type: UINT8, desc: fillp link event type}
FILLP_PKT_EVT:
__BASE: {type: STATISTIC, level: MINOR, desc: fillp data package event}
SOCK_IDX: {type: UINT32, desc: fillp socket index}
PKT_EVT_TYPE: {type: UINT8, desc: fillp package event type}
DROP_CNT: {type: UINT32, desc: fillp package dropcnt}
FILLP_SOCK_QOS_EVT:
__BASE: {type: STATISTIC, level: MINOR, desc: fillp socket Qos event}
SOCK_IDX: {type: UINT32, desc: fillp socket index}
RTT: {type: UINT32, desc: fillp socket rtt}
TOTAL_RECV_PKT: {type: UINT32, desc: fillp socket recv package num}
TOTAL_RECV_BYTES: {type: UINT32, desc: fillp socket recv bytes}
TOTAL_SEND_PKT: {type: UINT32, desc: fillp socket send package num}
TOTAL_SEND_BYTES: {type: UINT32, desc: fillp socket send bytes}
JITTER: {type: UINT32, desc: fillp socket jitter}
DFINDER_STATS:
__BASE: {type: STATISTIC, level: MINOR, desc: dfinder statistics}
INVALID_OPTION_CNT: {type: UINT64, desc: the count of invalid option}
BUILD_PKT_FAIL_CNT: {type: UINT64, desc: the count when building packet failed}
INVALID_RSP_CNT: {type: UINT64, desc: the count of invalid message}
OVER_DEVICE_LIMIT_CNT: {type: UINT64, desc: the count when the device number is over limit}