From c5ced5d354678c6eaefbfab11035b4f05361264a Mon Sep 17 00:00:00 2001 From: Jeff Hao Date: Mon, 11 May 2015 17:33:49 -0700 Subject: Fix prototype for startMethodTracingSampling in profiling docs. Change-Id: I1bb48be7d154ef2d513c8f611c52a7c89414737c (cherry picked from commit 3755c3d8bcc3d0f22eb7a775ec7a689feb7e1725) --- docs/html/tools/debugging/debugging-tracing.jd | 7 ++++--- 1 file 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

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()}.

+ 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()}.

Copying Trace Files to a Host Machine

-- cgit v1.1