Lines Matching refs:trace

40 …<p>When you have a trace log file (generated by adding tracing code to your application or by DDMS…
89 <p>To use Traceview, you need to generate log files containing the trace information you want to
92 <p>There are two ways to generate trace logs:</p>
96 android.os.Debug#stopMethodTracing()}, to start and stop logging of trace information to disk.
98 you can specify exactly where to start and stop logging trace data in your code.</li>
99 <li>Use the method profiling feature of DDMS to generate trace logs. This option is less
107 <p>Before you start generating trace logs, be aware of the following restrictions:</p>
116 <li>Android 2.2 and later devices do not need an SD card. The trace log files are
122 …<p>This document focuses on using the {@link android.os.Debug} class to generate trace data. For …
123 …to generate trace data, see <a href="ddms.html#profiling">Using the Dalvik Debug Monitor Server.</…
126 <p>To create the trace files, include the {@link android.os.Debug} class and call one of the
128 specify a base name for the trace files that the system generates. To stop tracing, call {@link
136 // start tracing to "/sdcard/calc.trace"
145 <code>&lt;trace-base-name&gt;.trace</code>. This contains the binary method trace data and a
148 <p>The system then begins buffering the generated trace data, until your application calls
169 <p>After your application has run and the system has created your trace files
170 <code>&lt;trace-base-name&gt;.trace</code> on a device or emulator, you must copy those files to
172 that shows how to copy an example file, calc.trace, from the default location on the emulator to
175 adb pull /sdcard/calc.trace /tmp
180 <p>To run Traceview and view the trace files:</p>
190 <p class="note"><strong>Note:</strong> If you are trying to view the trace logs of an application
198 graphical call-stack diagrams from trace log files. The tool uses the Graphviz Dot utility to
214 <li><code>&lt;ref&gt;</code> -- Call reference number, as used in trace logs</li>
227 dmtracedump [-ho] [-s sortable] [-d trace-base-name] [-g outfile] &lt;trace-base-name&gt;
230 <p>The tool then loads trace log data from <code>&lt;trace-base-name&gt;.data</code> and
231 … <code>&lt;trace-base-name&gt;.key</code>. The table below lists the options for dmtracedump.</p>
241 <td><code>-d&nbsp;&lt;trace-base-name&gt;</code></td>
243 <td>Diff with this trace name</td>
261 <td>Dump the trace file instead of profiling</td>
265 <td><code>-d&nbsp;&lt;trace-base-name&gt;</code></td>