15ba71b47Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 25ba71b47Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 35ba71b47Sopenharmony_ci# you may not use this file except in compliance with the License. 45ba71b47Sopenharmony_ci# You may obtain a copy of the License at 55ba71b47Sopenharmony_ci# 65ba71b47Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 75ba71b47Sopenharmony_ci# 85ba71b47Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 95ba71b47Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 105ba71b47Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 115ba71b47Sopenharmony_ci# See the License for the specific language governing permissions and 125ba71b47Sopenharmony_ci# limitations under the License. 135ba71b47Sopenharmony_ci 145ba71b47Sopenharmony_cidomain: SAMGR 155ba71b47Sopenharmony_ci 165ba71b47Sopenharmony_ciSA_MAIN_EXIT: 175ba71b47Sopenharmony_ci __BASE: {type: FAULT, level: CRITICAL, desc: sa main abnormal exit} 185ba71b47Sopenharmony_ci REASON: {type: STRING, desc: sa main abnormal exit reason} 195ba71b47Sopenharmony_ci 205ba71b47Sopenharmony_ciPROCESS_STOP_DURATION: 215ba71b47Sopenharmony_ci __BASE: {type: BEHAVIOR, level: CRITICAL, desc: ondemand process stop time cost} 225ba71b47Sopenharmony_ci PROCESS_NAME: {type: STRING, desc: process name} 235ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 245ba71b47Sopenharmony_ci UID: {type: INT32, desc: caller uid} 255ba71b47Sopenharmony_ci DURATION: {type: INT64, desc: process stop time cost} 265ba71b47Sopenharmony_ci 275ba71b47Sopenharmony_ciPROCESS_START_DURATION: 285ba71b47Sopenharmony_ci __BASE: {type: BEHAVIOR, level: CRITICAL, desc: ondemand process start time cost} 295ba71b47Sopenharmony_ci PROCESS_NAME: {type: STRING, desc: process name} 305ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 315ba71b47Sopenharmony_ci UID: {type: INT32, desc: caller uid} 325ba71b47Sopenharmony_ci DURATION: {type: INT64, desc: process start time cost} 335ba71b47Sopenharmony_ci 345ba71b47Sopenharmony_ciPROCESS_STOP_FAIL: 355ba71b47Sopenharmony_ci __BASE: {type: FAULT, level: CRITICAL, desc: ondemand process stop failed event} 365ba71b47Sopenharmony_ci PROCESS_NAME: {type: STRING, desc: process name} 375ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 385ba71b47Sopenharmony_ci UID: {type: INT32, desc: caller uid} 395ba71b47Sopenharmony_ci REASON: {type: STRING, desc: process stop fail reason} 405ba71b47Sopenharmony_ci 415ba71b47Sopenharmony_ciPROCESS_START_FAIL: 425ba71b47Sopenharmony_ci __BASE: {type: FAULT, level: CRITICAL, desc: ondemand process start failed event} 435ba71b47Sopenharmony_ci PROCESS_NAME: {type: STRING, desc: process name} 445ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 455ba71b47Sopenharmony_ci UID: {type: INT32, desc: caller uid} 465ba71b47Sopenharmony_ci REASON: {type: STRING, desc: process start fail reason} 475ba71b47Sopenharmony_ci 485ba71b47Sopenharmony_ciSA_CRASH: 495ba71b47Sopenharmony_ci __BASE: {type: FAULT, level: CRITICAL, desc: sa crash} 505ba71b47Sopenharmony_ci SAID: {type: INT32, desc: system ability id} 515ba71b47Sopenharmony_ci 525ba71b47Sopenharmony_ciSA_LOAD_DURATION: 535ba71b47Sopenharmony_ci __BASE: {type: BEHAVIOR, level: CRITICAL, desc: samgr sa load time cost} 545ba71b47Sopenharmony_ci SAID: {type: INT32, desc: system ability id} 555ba71b47Sopenharmony_ci KEY_STAGE: {type: INT32, desc: load sa key stage} 565ba71b47Sopenharmony_ci DURATION: {type: INT64, desc: time cost} 575ba71b47Sopenharmony_ci 585ba71b47Sopenharmony_ciSA_UNLOAD_DURATION: 595ba71b47Sopenharmony_ci __BASE: {type: BEHAVIOR, level: CRITICAL, desc: samgr sa unload time cost} 605ba71b47Sopenharmony_ci SAID: {type: INT32, desc: system ability id} 615ba71b47Sopenharmony_ci KEY_STAGE: {type: INT32, desc: unload sa key stage} 625ba71b47Sopenharmony_ci DURATION: {type: INT64, desc: time cost} 635ba71b47Sopenharmony_ci 645ba71b47Sopenharmony_ciSA_UNLOAD_FAIL: 655ba71b47Sopenharmony_ci __BASE: {type: FAULT, level: CRITICAL, desc: samgr sa unload failed event} 665ba71b47Sopenharmony_ci SAID: {type: INT32, desc: system ability id} 675ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 685ba71b47Sopenharmony_ci UID: {type: INT32, desc: caller uid} 695ba71b47Sopenharmony_ci REASON: {type: STRING, desc: fail reason} 705ba71b47Sopenharmony_ci 715ba71b47Sopenharmony_ciONDEMAND_SA_LOAD_FAIL: 725ba71b47Sopenharmony_ci __BASE: {type: FAULT, level: CRITICAL, desc: samgr sa load failed event} 735ba71b47Sopenharmony_ci SAID: {type: INT32, desc: system ability id} 745ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 755ba71b47Sopenharmony_ci UID: {type: INT32, desc: caller uid} 765ba71b47Sopenharmony_ci REASON: {type: STRING, desc: fail reason} 775ba71b47Sopenharmony_ci 785ba71b47Sopenharmony_ciONDEMAND_SA_LOAD: 795ba71b47Sopenharmony_ci __BASE: {type: BEHAVIOR, level: CRITICAL, desc: samgr sa load event} 805ba71b47Sopenharmony_ci SAID: {type: INT32, desc: system ability id} 815ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 825ba71b47Sopenharmony_ci UID: {type: INT32, desc: caller uid} 835ba71b47Sopenharmony_ci EVENT: {type: INT32, desc: load event id} 845ba71b47Sopenharmony_ci 855ba71b47Sopenharmony_ciONDEMAND_SA_UNLOAD: 865ba71b47Sopenharmony_ci __BASE: {type: BEHAVIOR, level: CRITICAL, desc: samgr sa unload event} 875ba71b47Sopenharmony_ci SAID: {type: INT32, desc: system ability id} 885ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 895ba71b47Sopenharmony_ci UID: {type: INT32, desc: caller uid} 905ba71b47Sopenharmony_ci EVENT: {type: INT32, desc: unload event id} 915ba71b47Sopenharmony_ci 925ba71b47Sopenharmony_ciGETSA_FREQUENCY: 935ba71b47Sopenharmony_ci __BASE: {type: STATISTIC, level: CRITICAL, desc: get system ability times event} 945ba71b47Sopenharmony_ci CALLER_UID: {type: UINT32, desc: caller uid} 955ba71b47Sopenharmony_ci SAID: {type: UINT32, desc: system ability id} 965ba71b47Sopenharmony_ci COUNT: {type: INT32, desc: the caller process get sa count} 975ba71b47Sopenharmony_ci 985ba71b47Sopenharmony_ciADD_SYSTEMABILITY_FAIL: 995ba71b47Sopenharmony_ci __BASE: {type: FAULT, level: CRITICAL, desc: add system ability failed event} 1005ba71b47Sopenharmony_ci SAID: {type: INT32, desc: system ability id} 1015ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 1025ba71b47Sopenharmony_ci UID: {type: INT32, desc: caller uid} 1035ba71b47Sopenharmony_ci FILE_NAME: {type: STRING, desc: file name} 1045ba71b47Sopenharmony_ci 1055ba71b47Sopenharmony_ciSERVICE_BLOCK: 1065ba71b47Sopenharmony_ci __BASE: {type: FAULT, level: CRITICAL, desc: workhander watchdog block} 1075ba71b47Sopenharmony_ci PID: {type: INT32, desc: caller pid} 1085ba71b47Sopenharmony_ci UID: {type: UINT32, desc: caller uid} 1095ba71b47Sopenharmony_ci MSG: {type: STRING, desc: time msg} 1105ba71b47Sopenharmony_ci 1115ba71b47Sopenharmony_ciSA_IDLE: 1125ba71b47Sopenharmony_ci __BASE: {type: BEHAVIOR, level: CRITICAL, desc: sa idle event} 1135ba71b47Sopenharmony_ci SAID: {type: INT32, desc: system ability id} 1145ba71b47Sopenharmony_ci REASON: {type: STRING, desc: sa idle reason} 115