Home
last modified time | relevance | path

Searched refs:trace_file (Results 1 – 4 of 4) sorted by relevance

/system/extras/profcollectd/libprofcollectd/
Dsimpleperf_etm_trace_provider.rs38 let mut trace_file = PathBuf::from(trace_dir); in trace() localVariable
39 trace_file.push(trace_provider::construct_file_name(tag)); in trace()
40 trace_file.set_extension(ETM_TRACEFILE_EXTENSION); in trace()
43 &trace_file, in trace()
60 .try_for_each(|trace_file| -> Result<()> { in process()
63 trace_file in process()
65 .ok_or_else(|| anyhow!("Malformed trace path: {}", trace_file.display()))?, in process()
68 simpleperf_profcollect::process(&trace_file, &profile_file); in process()
69 remove_file(&trace_file)?; in process()
/system/extras/simpleperf/rust/
Dlib.rs44 pub fn record(trace_file: &Path, duration: &Duration, scope: RecordScope) { in record()
50 let trace_file = path_to_cstr(trace_file); in record() localVariable
54 simpleperf_profcollect_bindgen::Record(event_name.as_ptr(), trace_file.as_ptr(), duration); in record()
/system/extras/pagecache/
Dpagecache.py280 def read_and_parse_trace_file(trace_file, pagecache_stats, app_name): argument
281 for line in trace_file:
383 if options.trace_file is not None:
384 if not os.path.isfile(options.trace_file):
387 trace_file = open(options.trace_file, 'r')
388 read_and_parse_trace_file(trace_file, pagecache_stats, options.app_name)
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py823 trace_file = systrace_file_name + "_trace.txt"
824 with open(trace_file, 'w') as f:
826 run_adb_shell_cmd_as_root("cat /d/tracing/trace >> " + trace_file)
828 …call("$ANDROID_BUILD_TOP/external/chromium-trace/systrace.py --from-file=" + trace_file + " -o " +\