Home
last modified time | relevance | path

Searched refs:trace_path (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/.gitlab-ci/tracie/
Ddump_trace_images.py51 def get_last_apitrace_frame_call(cmd_wrapper, trace_path): argument
52 cmd = cmd_wrapper + ["apitrace", "dump", "--calls=frame", str(trace_path)]
60 def get_last_gfxreconstruct_frame_call(trace_path): argument
61 cmd = ["gfxrecon-info", str(trace_path)]
70 def dump_with_apitrace(retrace_cmd, trace_path, calls, device_name): argument
71 outputdir = str(trace_path.parent / "test" / device_name)
73 outputprefix = str(Path(outputdir) / trace_path.name) + "-"
75 calls = [str(get_last_apitrace_frame_call(retrace_cmd[:-1], trace_path))]
78 "--snapshot-prefix=" + outputprefix, str(trace_path)]
79 log_path = Path(outputdir) / (trace_path.name + ".log")
[all …]
Dtracie.py32 def replay(trace_path, device_name): argument
33 success = dump_trace_images.dump_from_trace(trace_path, [], device_name)
36 …ck_image] Trace %s couldn't be replayed. See above logs for more information." % (str(trace_path)))
39 base_path = trace_path.parent
40 file_name = trace_path.name
50 trace_path = TRACES_DB_PATH + trace['path']
52 if not os.path.exists(trace_path):
53 print("{} missing".format(trace_path))
57 os.makedirs(os.path.dirname(trace_path), exist_ok=True)
59 if os.path.exists(trace_path):
[all …]
Dquery_traces_yaml.py66 trace = next(t for t in traces if t['path'] == args.trace_path)
/external/angle/src/tests/restricted_traces/
Dretrace_restricted_traces.py37 def context_header(trace, trace_path): argument
38 context_id = get_context(trace_path)
40 return os.path.join(trace_path, header)
44 trace_path = src_trace_path(trace)
49 for file in os.listdir(trace_path):
62 trace_path = src_trace_path(trace)
63 header_file = context_header(trace, trace_path)
139 trace_path = os.path.abspath(os.path.join(args.out_path, trace))
140 if not os.path.isdir(trace_path):
141 os.makedirs(trace_path)
[all …]
/external/perfetto/tools/
Ddiff_test_trace_processor.py54 def __init__(self, type, trace_path, query_path_or_metric, expected_path): argument
56 self.trace_path = trace_path
63 def __init__(self, test_type, trace_path, query_path_or_metric, argument
66 self.trace_path = trace_path
169 trace_path = test.trace_path
171 if not os.path.exists(trace_path):
172 sys.stderr.write('Trace file not found {}\n'.format(trace_path))
180 is_generated_trace = trace_path.endswith('.py') or trace_path.endswith(
182 if trace_path.endswith('.py'):
184 serialize_python_trace(trace_descriptor_path, trace_path, gen_trace_file)
[all …]
Dserialize_test_trace.py57 trace_path = args.trace_path
59 if trace_path.endswith('.py'):
60 serialize_python_trace(trace_descriptor_path, trace_path, sys.stdout.buffer)
61 elif trace_path.endswith('.textproto'):
63 trace_path, sys.stdout.buffer)
/external/bcc/tools/
Dcriticalstat.py60 trace_path = debugfs_path + b"/tracing/events/preemptirq/"; variable
62 if (not os.path.exists(trace_path + b"irq_disable") or
63 not os.path.exists(trace_path + b"irq_enable") or
64 not os.path.exists(trace_path + b"preempt_disable") or
65 not os.path.exists(trace_path + b"preempt_enable")):
/external/chromium-trace/catapult/tracing/tracing/trace_data/
Dtrace_data_unittest.py37 with tempfile_ext.TemporaryFileName() as trace_path:
41 builder.Serialize(trace_path)
42 self.assertTrue(os.path.exists(trace_path))
43 self.assertGreater(os.stat(trace_path).st_size, 0) # File not empty.
/external/llvm-project/lldb/source/Plugins/MemoryHistory/asan/
DMemoryHistoryASan.cpp111 std::string trace_path = "." + std::string(type) + "_trace"; in CreateHistoryThreadFromValueObject() local
128 return_value_sp->GetValueForExpressionPath(trace_path.c_str()); in CreateHistoryThreadFromValueObject()
/external/libchrome/base/test/launcher/
Dtest_launcher.cc1235 FilePath trace_path( in MaybeSaveSummaryAsJSON() local
1237 if (!GetTestLauncherTracer()->Dump(trace_path)) { in MaybeSaveSummaryAsJSON()