• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#  Copyright (c) 2024 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: PROFILER
15
16HITRACE_USAGE:
17  __BASE: {type: BEHAVIOR, level: CRITICAL, tag: usageStats, desc: hitrace usage statistics}
18  OPT: {type: STRING, desc: hitrace request type}
19  CALLER: {type: STRING, desc: hitrace caller}
20  TRACE_TAG: {type: STRING, desc: trace capture tag list}
21  DURATION: {type: INT32, desc: capture duration}
22  BUFFER_SIZE: {type: INT32, desc: trace buffer size}
23  FILE_LIMIT: {type: INT32, desc: trace file limit}
24  FILE_SIZE: {type: INT32, desc: trace file size limit}
25  CLOCK_TYPE: {type: STRING, desc: trace clock type}
26  IS_COMPRESSED: {type: BOOL, desc: whether output file is compressed}
27  IS_RAW: {type: BOOL, desc: whether trace data is raw type}
28  IS_OVERWRITE: {type: BOOL, desc: whether trace data is overwrite}
29  ERROR_CODE: {type: INT32, desc: request error code}
30  ERROR_MESSAGE: {type: STRING, desc: request error message}
31
32DUMP_TRACE:
33  __BASE: {type: BEHAVIOR, level: CRITICAL, tag: usageStats, desc: trace dump statistics}
34  CALLER: {type: STRING, desc: caller of DumpTrace functionality}
35  ERROR_CODE: {type: INT32, desc: error code}
36  IPC_TIME: {type: UINT64, desc: timestamp of sending DumpTrace request in unix time}
37  REQ_TIME: {type: UINT64, desc: target trace end time in unix timepassed by the caller}
38  REQ_DURATION: {type: INT32, desc: target trace duration passed by the caller}
39  EXEC_TIME: {type: UINT64, desc: DumpTrace execution start time in unix time in milliseconds}
40  EXEC_DURATION: {type: INT32, desc: DumpTrace execution duration in milliseconds}
41  COVER_DURATION: {type: INT32, desc: time coverage of captured trace on requested interval in milliseconds}
42  COVER_RATIO: {type: INT32, desc: time coverage ratio expressed in premille}
43  TAGS: {type: STRING, arrsize: 100, desc: tags}
44  FILE_SIZE: {type: INT32, desc: total trace file size in MB}
45  SYS_MEM_TOTAL: {type: INT32, desc: total system memory in MB}
46  SYS_MEM_FREE: {type: INT32, desc: free system memory in MB}
47  SYS_MEM_AVAIL: {type: INT32, desc: available system memory in MB}
48  SYS_CPU: {type: INT32, desc: average system cpu usage}
49  TRACE_MODE: {type: UINT8, desc: average system cpu usage}
50
51HIPERF_USAGE:
52  __BASE: {type: BEHAVIOR, level: CRITICAL, desc: hiperf usage statistics}
53  MAIN_CMD: {type: STRING, desc: main request command type}
54  SUB_CMD: {type: STRING, desc: sub request command type}
55  CALLER: {type: STRING, desc: hiperf caller}
56  TARGET_PROCESS: {type: STRING, desc: hiperf capture process}
57  ERROR_CODE: {type: INT32, desc: request error code}
58  ERROR_MESSAGE: {type: STRING, desc: request error message}
59