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