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