1# Copyright (c) 2021-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 14module: 15 name: aspt_converter 16 namespace: ark::tooling::sampler 17 18options: 19- name: input 20 type: std::string 21 default: "" 22 description: Path to input aspt file 23 24- name: output 25 type: std::string 26 default: "" 27 description: Path to ouput csv file. In dump-modules mode - path to output txt file 28 29- name: csv-tid-separation 30 type: std::string 31 default: single-csv-multi-tid 32 possible_values: 33 - single-csv-single-tid 34 - single-csv-multi-tid 35 - multi-csv 36 description: Separates threads into single or multuple csv files. 37 38- name: cold-graph-enable 39 type: bool 40 default: false 41 description: Builds cold flame graph 42 43- name: substitute-module-dir 44 type: bool 45 default: false 46 description: Enable substitution of panda files directories e.g. run converter on host for .aspt got from device 47 48- name: substitute-source-str 49 type: arg_list_t 50 default: [] 51 description: Substrings that will be replaced with substitute-destination 52 delimiter: ',' 53 54- name: substitute-destination-str 55 type: arg_list_t 56 default: [] 57 description: Substrings that will be places instead of substitute-source 58 delimiter: ',' 59 60- name: dump-modules 61 type: bool 62 default: false 63 description: In this mode aspt_converter retrieves information from .aspt file about necessary modules paths on device 64 and then dump this paths to outfile, that specified in --output 65 66- name: dump-system-frames 67 type: bool 68 default: false 69 description: With this flag aspt converter will print info about bridge frames but only if they are the top on the 70 stack. 71