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 14domain: HIDUMPER 15 16CMD_USAGE: 17 __BASE: {type: STATISTIC, level: CRITICAL, tag: usageStats, desc: hidumper usage statistics} 18 IS_DUMP_CPU_FREQ: {type: BOOL, desc: is user dump cpu frequency} 19 IS_DUMP_CPU_USAGE: {type: BOOL, desc: is user dump cpu usage} 20 CPU_USAGE_PID: {type: INT32, desc: pid number when dump cpu usage} 21 IS_DUMP_LOG: {type: BOOL, desc: is user dump log} 22 LOG_ARGS: {type: STRING, desc: args when user dump log} 23 IS_DUMP_MEM: {type: BOOL, desc: is user dump memory} 24 MEM_PID: {type: INT32, desc: pid when dump memory} 25 IS_DUMP_STORAGE: {type: BOOL, desc: is user dump storage} 26 STORAGE_PID: {type: INT32, desc: pid number when dump storage} 27 IS_DUMP_NET: {type: BOOL, desc: is user dump net} 28 NET_PID: {type: INT32, desc: pid number when dump net} 29 IS_DUMP_LIST: {type: BOOL, desc: is user dump list} 30 IS_DUMP_SERVICE: {type: BOOL, desc: is user dump service} 31 IS_DUMP_SYSTEM_ABILITY: {type: BOOL, desc: is user dump system ability} 32 ABILITIE_NAMES: {type: STRING, desc: name when dump system ability} 33 ABILITIE_ARGS: {type: STRING, desc: args when dump system ability} 34 IS_DUMP_SYSTEM: {type: BOOL, desc: is user dump system} 35 SYSTEM_ARGS: {type: STRING, desc: args when dump system} 36 IS_DUMP_PROCESSES: {type: BOOL, desc: is user dump process} 37 PROCESS_PID: {type: INT32, desc: pid number when dump process} 38 IS_FAULT_LOG: {type: BOOL, desc: is user dump fault log} 39 TIME_OUT: {type: INT32, desc: timeout value} 40 LIMIT_SIZE: {type: INT32, desc: limit size} 41 PATH: {type: STRING, desc: output path of hidumper operation statistics} 42 IS_APPENDIX: {type: BOOL, desc: is user dump all with no args} 43 IS_TEST: {type: BOOL, desc: is test} 44 IS_SHOW_SMAPS: {type: BOOL, desc: is user dump smaps} 45 IS_SHOW_SMAPS_INFO: {type: BOOL, desc: is user dump smaps info} 46 CMD_USER_INPUT: {type: STRING, desc: command that user input}