Searched refs:log_path (Results 1 – 7 of 7) sorted by relevance
| /arkcompiler/toolchain/test/autotest/aw/ |
| D | utils.py | 88 def save_fault_log(cls, log_path): argument 89 if not os.path.exists(log_path): 90 os.makedirs(log_path) 92 cmd = ['hdc', 'file', 'recv', '/data/log/faultlog/faultlogger/', log_path] 99 def save_hilog(cls, log_path, file_name, debug_on=False): argument 100 if not os.path.exists(log_path): 101 os.makedirs(log_path)
|
| /arkcompiler/runtime_core/scripts/ |
| D | gc_pause_stats.py | 194 for log_path in list(map(os.path.abspath, sys.argv[1:-1])): 195 if os.path.isfile(log_path): 196 gc_log_paths.append(log_path) 200 for log_path in gc_log_paths: 201 process_one_log(log_path, result_file_path, all_gc_stats)
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
| D | logger.py | 35 log_path = report_root if report_root is not None else \ 37 makedirs(log_path, exist_ok=True) 39 file_handler = logging.FileHandler(path.join(log_path, "runner.log"))
|
| /arkcompiler/runtime_core/static_core/scripts/ |
| D | gc_pause_stats.py | 269 for log_path in list(map(os.path.abspath, sys.argv[1:-1])): 270 if os.path.isfile(log_path): 271 gc_log_paths.append(log_path) 272 elif os.path.isdir(log_path): 273 gc_log_paths += get_logs_from_dir(log_path) 278 for log_path in gc_log_paths: 279 count_nonempty_logs += stats_collector.process_one_log(log_path)
|
| /arkcompiler/toolchain/test/autotest/scenario_test/ |
| D | test_debug_01.py | 57 self.log_path = rf'{os.path.dirname(__file__)}\..\log' 63 self.hilog_process, self.write_thread = Utils.save_hilog(log_path=self.log_path, 77 Utils.save_fault_log(log_path=self.log_path)
|
| /arkcompiler/ets_runtime/test/ffiworkloadtest/ |
| D | get_ffi_workload_report.py | 419 log_path = os.path.join(work_path, "test.log") variable 420 if os.path.exists(log_path): 421 os.remove(log_path) 423 Constants.logger = get_logger("workloadtest", log_path)
|
| /arkcompiler/ets_runtime/test/jsperftest/ |
| D | run_js_test.py | 630 def update_data_by_log(data: dict, log_path: str, js_name: str) -> dict: 632 with open(log_path, 'r') as f:
|