/system/extras/ANRdaemon/ |
D | README | 4 Depending on the CPU usage level, the trace is turn on/off by writting to the 5 global control /d/trace/trace_on. The raw trace file is stored at 6 /d/tracing/trace. 11 This means tracing will be enabled above 99.90% CPU utilization and will trace 14 Use ANRdaemon_get_trace.sh [device serial] to dump and fetch the compressed trace file. 16 The compressed trace file can be parsed using systrace: 17 $ systrace.py --from-file=<path to compressed trace file> 19 Known issue: in the systrace output, anrdaemon will show up when the trace is 21 drops, the last entry it leaves in the raw trace file is the scheduler switched 24 the first entry in /d/tracing/trace logged by sched is switching away from the [all …]
|
/system/extras/ioshark/ |
D | collect-straces.sh | 35 for i in trace.* 37 if [ $i != trace.begin ] && [ $i != trace.tar ]; 46 begin_time=`cat trace.begin` 82 rm -f trace.* 86 adb pull /data/local/tmp/trace.tar 90 tar xf trace.tar
|
D | collect-straces-ftraces.sh | 14 begin_time=`cat trace.begin` 56 for stracefile in trace.* 58 if [ $stracefile == trace.begin ] || [ $stracefile == trace.tar ]; 186 rm -f trace.* 193 adb pull /data/local/tmp/trace.tar 194 tar xf trace.tar
|
D | compile-only.sh | 14 begin_time=`cat trace.begin` 54 for stracefile in trace.* 56 if [ $stracefile == trace.begin ] || [ $stracefile == trace.tar ];
|
/system/extras/tests/mmc_tracepoints/ |
D | README | 7 To get the trace: 9 adb pull /d/tracing/trace 24 The file mmc_trace_sample_data contains sample mmc trace data from a Nexus 10.
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | traced.te | 21 # Allow to pass a file descriptor for the output trace from "perfetto" (the 23 # directly into that (rather than returning the trace contents over the socket). 39 # Allow traced to notify Traceur when a trace ends by setting the 40 # sys.trace.trace_end_signal property.
|
/system/extras/profcollectd/libprofcollectd/ |
D | scheduler.rs | 62 trace_provider.lock().unwrap().trace( in schedule_periodic() 86 trace_provider.lock().unwrap().trace(&TRACE_OUTPUT_DIR, tag, &config.sampling_period); in one_shot()
|
D | trace_provider.rs | 29 fn trace(&self, trace_dir: &Path, tag: &str, sampling_period: &Duration); in trace() method
|
/system/security/keystore2/src/ |
D | async_task.rs | 336 let trace = shelf.get_mut::<Vec<String>>(); in test_async_task() localVariable 337 trace.push(format!("L{}", j)); in test_async_task() 341 let trace = shelf.get_mut::<Vec<String>>(); in test_async_task() localVariable 342 trace.push(format!("H{}", j)); in test_async_task() 349 let trace = shelf.get_downcast_ref::<Vec<String>>().unwrap(); in test_async_task() localVariable 350 trace_sender.send(trace.clone()).unwrap(); in test_async_task() 355 let trace = trace_receiver.recv().unwrap(); in test_async_task() localVariable 357 assert_eq!(trace, vec!["H0", "H1", "H2", "L0", "L1", "L2"]); in test_async_task()
|
/system/core/libcutils/ |
D | trace-dev.inc | 20 #define LOG_TAG "cutils-trace" 34 #include <cutils/trace.h> 44 * Maximum size of a message that can be logged to the trace buffer. 46 * Names should be kept short to get the most use of the trace buffer. 152 ALOGE("Error parsing trace property: Not a number: %s", value); 155 ALOGE("Error parsing trace property: Number too large: %s", value);
|
D | Android.bp | 177 "trace-host.cpp", 184 "trace-host.cpp", 200 "trace-dev.cpp", 287 "trace-dev_test.cpp",
|
/system/extras/boottime_tools/io_analysis/ |
D | check_verity.py | 132 trace = VerityTrace() 135 trace.handle_line(l) 136 trace.dump()
|
D | check_io_trace.py | 183 trace = Trace(keyword) 189 trace.parse_block_trace(l, result) 190 trace.dump()
|
/system/iorap/src/compiler/ |
D | compiler.cc | 250 std::optional<uint64_t> GetStartTimestamp(const ::perfetto::protos::Trace& trace) { in GetStartTimestamp() argument 253 for (const ::perfetto::protos::TracePacket& packet : trace.packet()) { in GetStartTimestamp() 300 const ::perfetto::protos::Trace& trace = *(trace_info.trace_ptr); in SelectPageCacheFtraceEvents() local 305 [trace=std::move(trace), in SelectPageCacheFtraceEvents() 312 std::optional<uint64_t> timestamp_relative_start = GetStartTimestamp(trace); in SelectPageCacheFtraceEvents() 335 for (const ::perfetto::protos::TracePacket& packet : trace.packet()) { in SelectPageCacheFtraceEvents() 428 .flat_map([](PerfettoTracePtrInfo trace) { in SelectDistinctInodesFromTraces() argument 429 rxcpp::observable<PageCacheFtraceEvent> obs = SelectPageCacheFtraceEvents(std::move(trace)); in SelectDistinctInodesFromTraces() 572 .flat_map([](PerfettoTracePtrInfo trace) { in ResolvePageCacheEntriesFromProtos() argument 573 rxcpp::observable<PageCacheFtraceEvent> obs = SelectPageCacheFtraceEvents(std::move(trace)); in ResolvePageCacheEntriesFromProtos()
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | traced.te | 21 # Allow to pass a file descriptor for the output trace from "perfetto" (the 23 # directly into that (rather than returning the trace contents over the socket). 59 # Allow traced to notify Traceur when a trace ends by setting the 60 # sys.trace.trace_end_signal property.
|
D | traceur_app.te | 15 # To exec the perfetto cmdline client and pass it the trace config on
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | crash_dump.te | 13 # which will result in an audit log even when it's allowed to trace. 58 # A domain transition must occur for crash_dump to get the privileges needed to trace the process.
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | traced.te | 20 # Allow to pass a file descriptor for the output trace from "perfetto" (the 22 # directly into that (rather than returning the trace contents over the socket). 66 # Allow traced to notify Traceur when a trace ends by setting the 67 # sys.trace.trace_end_signal property.
|
D | traced_probes.te | 9 # Write trace data to the Perfetto traced damon. This requires connecting to its 19 # Allow traced_probes to access mm_events trace instance 77 # Note: trace data is NOT exposed to anything other than shell and privileged 96 # On debug builds allow to ingest system logs into the trace.
|
/system/sepolicy/private/ |
D | traced.te | 20 # Allow to pass a file descriptor for the output trace from "perfetto" (the 22 # directly into that (rather than returning the trace contents over the socket). 66 # Allow traced to notify Traceur when a trace ends by setting the 67 # sys.trace.trace_end_signal property.
|
D | traced_probes.te | 9 # Write trace data to the Perfetto traced damon. This requires connecting to its 19 # Allow traced_probes to access mm_events trace instance 77 # Note: trace data is NOT exposed to anything other than shell and privileged 96 # On debug builds allow to ingest system logs into the trace.
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | crash_dump.te | 13 # which will result in an audit log even when it's allowed to trace. 61 # A domain transition must occur for crash_dump to get the privileges needed to trace the process.
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | crash_dump.te | 5 # which will result in an audit log even when it's allowed to trace. 63 # A domain transition must occur for crash_dump to get the privileges needed to trace the process.
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | traced.te | 17 # Allow to pass a file descriptor for the output trace from "perfetto" (the 19 # directly into that (rather than returning the trace contents over the socket).
|
/system/extras/profcollectd/ |
D | profcollectd.rc | 18 mkdir /data/misc/profcollectd/trace 0770 root system
|