/aosp_15_r20/external/strace/ |
H A D | strace.1 | 4 .\" Copyright (c) 1996-2017 The strace developers. 42 .\" an-ext.tmac. 44 . ie \\n(.$-1 \ 51 . ie \\n(.$-1 \ 56 .TH STRACE 1 "2018-07-07" "strace 4.25" 58 strace \- trace system calls and signals 62 .OP \-ACdffhikqrtttTvVxxy 65 .OP \-ACdffhiqrtttTvVxxy 67 .OP \-I n 68 .OP \-b execve [all …]
|
H A D | strace.1.in | 4 .\" Copyright (c) 1996-2017 The strace developers. 42 .\" an-ext.tmac. 44 . ie \\n(.$-1 \ 51 . ie \\n(.$-1 \ 58 strace \- trace system calls and signals 62 .OP \-ACdffhikqrtttTvVxxy 65 .OP \-ACdffhiqrtttTvVxxy 67 .OP \-I n 68 .OP \-b execve 69 .OM \-e expr [all …]
|
/aosp_15_r20/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteInit.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 import static android.system.OsConstants.S_IRWXG; 20 import static android.system.OsConstants.S_IRWXO; 40 import android.os.Trace; 45 import android.system.ErrnoException; 46 import android.system.Os; 47 import android.system.OsConstants; 48 import android.system.StructCapUserData; 49 import android.system.StructCapUserHeader; 63 import dalvik.system.VMRuntime; [all …]
|
/aosp_15_r20/external/perfetto/docs/ |
H A D | tracing-101.md | 2 *This page provides a birds-eye view of performance analysis. 17 complicated, having a lot of components and a web of cross-interactions. 18 Techniques which help engineers understand the execution of a system 21 **Tracing** and **profiling** are two such widely-used techniques for 22 performance analysis. **Perfetto** is an open-source suite of tools, combining 23 tracing and profiling to give users powerful insights into their system. 27 of a system. A single continuous session of recording is called a trace file 28 or **trace** for short. 31 They often include low-level kernel events like scheduler context switches, 32 thread wakeups, syscalls, etc. With the "right" trace, reproduction of a [all …]
|
H A D | README.md | 1 # Perfetto - System profiling, app tracing and trace analysis 3 Perfetto is a production-grade open-source stack for performance 4 instrumentation and trace analysis. It offers services and libraries for 5 recording system-level and app-level traces, native + java heap profiling, a 6 library for analyzing traces using SQL and a web-based UI to visualize and 7 explore multi-GB traces. 9  13 At its core, Perfetto introduces a novel userspace-to-userspace 14 [tracing protocol](/docs/design-docs/api-and-abi.md#tracing-protocol-abi) based 16 protocol is used both internally for the built-in data sources and exposed to [all …]
|
/aosp_15_r20/packages/apps/Traceur/res/values/ |
D | strings.xml | 1 <?xml version="1.0" encoding="utf-8"?> 4 …-- This is the user visible name of the app and title. The purpose of the app is to allow the user… 5 <string name="system_tracing">System Tracing</string> 7 …<!-- This string is a description of what "System Tracing" is. It is used as a subtitle or summary… 8 …<string name="record_system_activity">Record system activity and analyze it later to improve perfo… 10 …-- This is the label for a toggle button. When the toggle is enabled, we will begin recording a "T… 11 <string name="record_trace">Record trace</string> 12 …-- This is the subtitle for the "Record trace" button, which explains that the "trace" function wi… 13 …<string name="record_trace_summary">Captures a system trace using the configuration set in \"Trace… 15 …-- This is the label for a toggle button. When the toggle is enabled, we will begin recording a "C… [all …]
|
/aosp_15_r20/external/perfetto/test/trace_processor/diff_tests/stdlib/android/ |
H A D | tests.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 28 # * job (456, mail_job) starting at 3000 (end is inferred as trace end) 29 # * job (789, video_job) ending at 4000 (start is inferred as trace start) 31 trace=TextProto(r""" 53 buf: "N|1000|battery_stats.job|-job=789:\"video_job\"\n" 60 buf: "N|1000|battery_stats.top|-top=123:\"mail\"\n" 75 trace=TextProto(r""" 110 1000,-1,3000,"battery_stats.audio",1,"active" 112 4000,-1,0,"battery_stats.data_conn",20,"5G (NR)" 117 trace=Path('../../metrics/android/android_anr_metric.py'), [all …]
|
/aosp_15_r20/external/perfetto/docs/instrumentation/ |
H A D | tracing-sdk.md | 4 to emit trace events and add more app-specific context to a Perfetto trace. 9 want to collect full-stack traces that overlay app trace events with system 10 trace events like scheduler traces, syscalls or any other Perfetto data 13 2. For app-specific tracing, whether you need to trace simple types of timeline 15 custom strongly-typed schema (e.g., for dumping the state of a subsystem of 16 your app into the trace). 18 For Android-only instrumentation, the advice is to keep using the existing 19 [android.os.Trace (SDK)][atrace-sdk] / [ATrace\_\* (NDK)][atrace-ndk] if they 20 are sufficient for your use cases. Atrace-based instrumentation is fully 21 supported in Perfetto. See the [Data Sources -> Android System -> Atrace [all …]
|
/aosp_15_r20/out/soong/raw-aosp_shiba/c4/ |
D | c4b85fdda410bea46e3ac1ffdd3c444510baa8b2 | 3 from: "out/host/linux-x86/bin/lint" 7 from: "out/host/linux-x86/bin/lint_project_xml" 11 from: "out/host/linux-x86/bin/soong_zip" 15 from: "out/host/linux-x86/bin/zipsync" 19 from: "out/host/linux-x86/framework/lint.jar" 27 …c.api.stubs.system.from-text/android_common/conscrypt.module.public.api.stubs.system.from-text/con… 28 …c.api.stubs.system.from-text/android_common/conscrypt.module.public.api.stubs.system.from-text/con… 31 …t/soong/.intermediates/external/guava/guava-android-host/linux_glibc_common/local-javac-header/gua… 32 …t/soong/.intermediates/external/guava/guava-android-host/linux_glibc_common/local-javac-header/gua… 35 …rom: "out/soong/.intermediates/external/guava/guava-both/linux_glibc_common/local-javac-header/gua… [all …]
|
/aosp_15_r20/external/libtracefs/Documentation/ |
H A D | libtracefs-instances-manage.txt | 5 ---- 7 tracefs_instance_is_new, tracefs_instances - Manage trace instances. 10 -------- 12 -- 22 -- 25 ----------- 26 This set of functions can be used to manage trace instances. A trace 27 instance is a sub buffer used by the Linux tracing system. Given a unique 29 system, nor other instances, as events enabled in the main tracing system 34 not yet exist in the system, it will be created. The _name_ could be NULL, [all …]
|
/aosp_15_r20/external/bcc/tools/ |
H A D | trace_example.txt | 1 Demonstrations of trace. 4 trace probes functions you specify and displays trace messages if a particular 8 For example, suppose you want to trace all commands being exec'd across the 9 system: 11 # trace 'sys_execve "%s", arg1' 12 PID COMM FUNC - 32 to be the command that is exec'd. The above trace was generated by executing 36 Next, suppose you are looking for large reads across the system. Let's trace 37 the read system call and inspect the third argument, which is the number of 40 # trace 'sys_read (arg3 > 20000) "read %d bytes", arg3' [all …]
|
/aosp_15_r20/external/trace-cmd/Documentation/trace-cmd/ |
H A D | trace-cmd-report.1.txt | 1 TRACE-CMD-REPORT(1) 5 ---- 6 trace-cmd-report - show in ASCII a trace created by trace-cmd record 9 -------- 10 *trace-cmd report* ['OPTIONS'] ['input-file'] 13 ----------- 14 The trace-cmd(1) report command will output a human readable report of a trace 15 created by trace-cmd record. 18 ------- 19 *-i* 'input-file':: [all …]
|
H A D | trace-cmd.dat.v7.5.txt | 1 TRACE-CMD.DAT.v7(5) 5 ---- 6 trace-cmd.dat.v7 - trace-cmd version 7 file format 9 -------- 10 *trace-cmd.dat* ignore 13 ----------- 14 The trace-cmd(1) utility produces a "trace.dat" file. The file may also 17 by trace-cmd to save kernel traces into it and be able to extract 18 the trace from it at a later point (see *trace-cmd-report(1)*). 22 -------------- [all …]
|
/aosp_15_r20/build/make/tools/aconfig/aconfig_protos/src/ |
H A D | lib.rs | 8 * http://www.apache.org/licenses/LICENSE-2.0 18 // When building with the Android tool-chain 20 // - an external crate `aconfig_protos` will be generated 21 // - the feature "cargo" will be disabled 25 // - a local sub-module will be generated in OUT_DIR and included in this file 26 // - the feature "cargo" will be enabled 30 // ---- When building with the Android tool-chain ---- 46 // ---- When building with cargo ---- 51 // Android tool-chain, we allow it 66 // ---- Common for both the Android tool-chain and cargo ---- [all …]
|
/aosp_15_r20/build/make/tools/aconfig/aconfig/src/ |
H A D | test.rs | 8 * http://www.apache.org/licenses/LICENSE-2.0 37 trace { 42 trace { 49 container: "system" 62 trace { 69 container: "system" 82 trace { 87 trace { 94 container: "system" 107 trace { [all …]
|
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | TraceTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 34 * while tracing on the emulator and then run traceview to view the trace. 50 Trace.setTracingEnabled(true, 0); in testEnableDisable() 51 Trace.setTracingEnabled(false, 0); in testEnableDisable() 53 Trace.setAppTracingAllowed(true); in testEnableDisable() 54 Trace.setAppTracingAllowed(false); in testEnableDisable() 60 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, TAG); in testBeginEnd() 61 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in testBeginEnd() 63 Trace.asyncTraceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, TAG, 42); in testBeginEnd() 64 Trace.asyncTraceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER, TAG, 42); in testBeginEnd() [all …]
|
/aosp_15_r20/art/test/044-proxy/src/ |
H A D | BasicTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 36 System.out.println("not a proxy class?"); in main() 38 System.out.println("ERROR: Proxy.getInvocationHandler is null"); in main() 53 Trace trace = (Trace) proxy; in main() local 54 trace.getTrace(); in main() 57 int unusedHashCode = ((Object)trace).hashCode(); in main() 58 boolean unusedEquals = ((Object)trace).equals(trace); in main() 59 String unusedString = ((Object)trace).toString(); in main() 63 System.out.println("Didn't get expected exception"); in main() 65 System.out.println("Got expected ioobe"); in main() [all …]
|
/aosp_15_r20/packages/modules/Profiling/service/java/com/android/os/profiling/ |
D | ProfilingService.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 77 private static final String TEMP_TRACE_PATH = "/data/misc/perfetto-traces/profiling/"; 82 private static final String OUTPUT_FILE_JAVA_HEAP_DUMP_SUFFIX = ".perfetto-java-heap-dump"; 83 private static final String OUTPUT_FILE_HEAP_PROFILE_SUFFIX = ".perfetto-heap-profile"; 84 private static final String OUTPUT_FILE_STACK_SAMPLING_SUFFIX = ".perfetto-stack-sample"; 85 private static final String OUTPUT_FILE_TRACE_SUFFIX = ".perfetto-trace"; 86 private static final String OUTPUT_FILE_UNREDACTED_TRACE_SUFFIX = ".perfetto-trace-unredacted"; 88 private static final String OUTPUT_FILE_IN_PROGRESS = "in-progress"; 90 private static final String PERSIST_SYSTEM_DIR = "system"; 122 // Targeting a period of around 24 hours, so set max and min to 24 +/- 6 hours, respectively. [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/view/ |
H A D | Choreographer.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 38 import android.os.Trace; 55 * Here are some examples of things you can do using the higher-level APIs. 100 // default value be less than the true inter-frame delay on all devices to avoid 103 // and display loop is ultimately rate-limited by how fast new graphics buffers can 256 * Contains information about the current frame for jank-tracking, 293 * ongoing animations but then update the whole view system with a single callback to 313 * Callback type: Commit callback. Handles post-draw operations for the frame. 442 * between frames may be different, depending on system load and capabilities. This is a static 446 * The frame delay may be ignored when the animation system uses an external timing [all …]
|
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | apigee_v1.organizations.environments.traceConfig.overrides.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
/aosp_15_r20/hardware/google/pixel/mm/ |
D | pixel-mm.rc | 2 # Copyright (C) 2020 The Android Open-Source Project 8 # http://www.apache.org/licenses/LICENSE-2.0 17 # Create mm_event trace point. 18 # Currently, only mm_event is using this trace instance. 19 # If others want to put more,it should get hard review from pixel-perf-team. 20 mkdir /sys/kernel/tracing/instances/pixel-trace 0755 system system 21 chown system system /sys/kernel/tracing/instances/pixel-trace/trace 22 chmod 0660 /sys/kernel/tracing/instances/pixel-trace/trace 23 chown system system /sys/kernel/tracing/instances/pixel-trace/tracing_on 24 chmod 0660 /sys/kernel/tracing/instances/pixel-trace/tracing_on [all …]
|
D | pixel-mm-legacy.rc | 2 # Copyright (C) 2020 The Android Open-Source Project 8 # http://www.apache.org/licenses/LICENSE-2.0 17 # Create mm_event trace point. 18 # For legacy devices, only mm_event is using this trace instance. 20 # If others want to put more,it should get hard review from pixel-perf-team. 21 mkdir /sys/kernel/debug/tracing/instances/pixel-trace 0755 system system 22 chown system system /sys/kernel/debug/tracing/instances/pixel-trace/trace 23 chmod 0660 /sys/kernel/debug/tracing/instances/pixel-trace/trace 24 chown system system /sys/kernel/debug/tracing/instances/pixel-trace/tracing_on 25 chmod 0660 /sys/kernel/debug/tracing/instances/pixel-trace/tracing_on [all …]
|
/aosp_15_r20/external/perfetto/test/trace_processor/diff_tests/parser/profiling/ |
H A D | tests_heap_graph.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 26 trace=Path('heap_graph_baseapk.textproto'), 52 trace=Path('heap_graph_baseapk.textproto'), 70 trace=Path('heap_graph_baseapk.textproto'), 78 trace=Path('heap_graph_deobfuscate_pkg.textproto'), 96 trace=TextProto(r""" 168 trace=Path('heap_graph.textproto'), 194 trace=Path('heap_graph.textproto'), 212 trace=Path('heap_graph.textproto'), 225 trace=Path('heap_graph.textproto'), [all …]
|
/aosp_15_r20/external/opencensus-java/contrib/log_correlation/stackdriver/src/test/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
H A D | OpenCensusTraceLoggingEnhancerTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 28 import io.opencensus.trace.Annotation; 29 import io.opencensus.trace.AttributeValue; 30 import io.opencensus.trace.BlankSpan; 31 import io.opencensus.trace.EndSpanOptions; 32 import io.opencensus.trace.Link; 33 import io.opencensus.trace.Span; 34 import io.opencensus.trace.SpanContext; 35 import io.opencensus.trace.SpanId; 36 import io.opencensus.trace.TraceId; [all …]
|
/aosp_15_r20/art/tools/runtime_memusage/ |
H A D | prune_sanitizer_output.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 31 """Returns trace line number matches as integers for sorting. 34 # Hard coded string are necessary since each trace must have the address 35 # accessed, which is printed before trace lines. 36 if match == "use-after-poison" or match == "unknown-crash": 37 return -2 39 return -1 40 # Cutting off non-integer part of match 41 return int(match[1:-1]) 44 def clean_trace_if_valid(trace, stack_min_size, prune_exact): argument [all …]
|