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

Commit a1fc2bfc authored by Jeff Hao's avatar Jeff Hao Committed by Android Git Automerger
Browse files

am 6e88f0b7: Merge "Fix prototype for startMethodTracingSampling in profiling docs." into mnc-dev

* commit '6e88f0b7':
  Fix prototype for startMethodTracingSampling in profiling docs.
parents bf70d3fc 6e88f0b7
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>