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

Commit c5ced5d3 authored by Jeff Hao's avatar Jeff Hao
Browse files

Fix prototype for startMethodTracingSampling in profiling docs.

Change-Id: I1bb48be7d154ef2d513c8f611c52a7c89414737c
(cherry picked from commit 3755c3d8)
parent cf6a3b91
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>