Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e88f0b7 authored by Jeff Hao's avatar Jeff Hao Committed by Android (Google) Code Review
Browse files

Merge "Fix prototype for startMethodTracingSampling in profiling docs." into mnc-dev

parents b05f5739 3755c3d8
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -159,9 +159,10 @@ parent.link=index.html

  <p>In Android 4.4 and later, you can use sample-based profiling to profile with less runtime
  performance impact. To enable sample profiling, call {@link
  android.os.Debug#startMethodTracingSampling() startMethodTracingSampling()} with a specified
  sampling interval. The system will then gather samples periodically until tracing is stopped
  via {@link android.os.Debug#stopMethodTracing() stopMethodTracing()}.</p>
  android.os.Debug#startMethodTracingSampling(java.lang.String, int, int)
  startMethodTracingSampling()} with a specified sampling interval. The system will then gather
  samples periodically until tracing is stopped via {@link android.os.Debug#stopMethodTracing()
  stopMethodTracing()}.</p>

  <h2 id="copyingfiles">Copying Trace Files to a Host Machine</h2>