summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2015-05-11 17:33:49 -0700
committerJeff Hao <jeffhao@google.com>2015-05-12 00:43:47 +0000
commitc5ced5d354678c6eaefbfab11035b4f05361264a (patch)
treee9366e3995439ddd63fec928b3a526a3c3d444ba /docs
parentcf6a3b915c2984ae573b27a46dd732811d642427 (diff)
downloadframeworks_base-c5ced5d354678c6eaefbfab11035b4f05361264a.zip
frameworks_base-c5ced5d354678c6eaefbfab11035b4f05361264a.tar.gz
frameworks_base-c5ced5d354678c6eaefbfab11035b4f05361264a.tar.bz2
Fix prototype for startMethodTracingSampling in profiling docs.
Change-Id: I1bb48be7d154ef2d513c8f611c52a7c89414737c (cherry picked from commit 3755c3d8bcc3d0f22eb7a775ec7a689feb7e1725)
Diffstat (limited to 'docs')
-rw-r--r--docs/html/tools/debugging/debugging-tracing.jd7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/html/tools/debugging/debugging-tracing.jd b/docs/html/tools/debugging/debugging-tracing.jd
index 098660b..fa5b4e1 100644
--- a/docs/html/tools/debugging/debugging-tracing.jd
+++ b/docs/html/tools/debugging/debugging-tracing.jd
@@ -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>