History log of /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/HandleProfiling.java
Revision Date Author Comments
c8596f7a4719c2f6aac3e0aec86676da0cd6bbaa 02-Feb-2011 Xavier Ducrohet <xav@android.com> Let the Traceview plug-in open the trace file created through DDMS.

New DDMS extension: traceviewLauncher.

This allows another plug-in (traceview) to provide
a way to open traceview file. If this doesn't work
it revert to the default behavior of DDMS which is to
open the external traceview program.

also reverted the extension of traceview file
from .atv to .trace because earlier versions of
Android would automatically create those files
using this extension.

Change-Id: I2605ad47e501770ae100da2ace781b1d5d8cebc5
d4963dc4347c871be5faa76920709001490e1d2a 24-Feb-2010 The Android Open Source Project <initial-contribution@android.com> snapshot
3b9b9b5678aa54cc82621a8563079fc13d5fa8e4 30-Jan-2010 Xavier Ducrohet <xav@android.com> Add support for VMs that can stream hprof data through JDWP. Do not merge

Integrated from master for inclusion in the SDK Tools r5

Change-Id: Ifad984f5b0ae187428cb7d871b039dddf0db4ba7
44783788698204a0dc3b311f5b6add970fb40f40 30-Jan-2010 Xavier Ducrohet <xav@android.com> Add support for VMs that can stream hprof data through JDWP.

Change-Id: I0fcc8718685ddb7accd459e78821677f044135ba
53283c2d209c6f4114f1ea0462f8b6f2f9f5cc43 28-Jan-2010 Xavier Ducrohet <xav@android.com> Display VM message on profiling error. Do not merge

Integrated from master to be in SDK Tools r5.

Bug: 2160407
Change-Id: Ib9cfcb68cc2c38947350b3419a96ce917db51b35
b752b6ca3e8b3553e8ede1344c3b3b4aa13b825d 28-Jan-2010 Xavier Ducrohet <xav@android.com> DDMS: Add support for profiling with VM able to send the result through JDWP. Do not merge.

Older VMs need to write the trace file on the SD Card which requires
the appropriate permission. This new mode directly streams the trace
file from the VM to DDMS.

Integrated from master to be in SDK Tools r5.

Bug: 2160407
Change-Id: I17d3e314d6325c1bdff041564bc939b2778b563e
54fa045cb564de89ea474d5076a1f220664330fd 26-Jan-2010 Andy McFadden <fadden@android.com> Strawman support for streaming method profiling. do not merge.

This will send MPSS/MPSE packets instead of MPRS/MPRE when the client VM
supports them. At least, it would if the property check weren't
hard-wired to false, which is done because the MPSE handling in DDMS is
incomplete (currently just dumps the first 100 chars so you can see that
it really got something).

Integrated from master to be in SDK Tools r5.

For bug 2160407.

Change-Id: I92b7d43fa78e3cb3eefdcef9e7357bbc6818822b
1e722f56f7b84cbf1f6459a83118c3e8e216c461 28-Jan-2010 Xavier Ducrohet <xav@android.com> Display VM message on profiling error

Bug: 2160407
Change-Id: Ifcce3f12b9de8e07bc035c8b74f82911d81c490e
de0716ae5b7caf7766e656b93bff971ce75d94b6 28-Jan-2010 Xavier Ducrohet <xav@android.com> DDMS: Add support for profiling with VM able to send the result through JDWP.

Older VMs need to write the trace file on the SD Card which requires
the appropriate permission. This new mode directly streams the trace
file from the VM to DDMS.

Bug: 2160407

Change-Id: Ic0e0813d8453761caecb990d85ca7e3baf1d237a
99cb03c8593d49efdf70cba8adc84231789dae07 26-Jan-2010 Andy McFadden <fadden@android.com> Strawman support for streaming method profiling.

This will send MPSS/MPSE packets instead of MPRS/MPRE when the client VM
supports them. At least, it would if the property check weren't
hard-wired to false, which is done because the MPSE handling in DDMS is
incomplete (currently just dumps the first 100 chars so you can see that
it really got something).

For bug 2160407.
e13151727c63786342cddc3ea355425582bd4e7a 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
312c9ed171a7fff530b3b7a4e6a87ead9b0d6522 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
bcf38645bef192b380f0d338b263aea075cd1aeb 03-Sep-2009 Xavier Ducrohet <xav@android.com> Add method profiling support to DDMS.

New button allows to start/stop tracing. When clicking stop, DDMS downloads
the trace file and starts Traceview.

Also refactored some common parts of the HPROF and tracing handlers into a
common class. The goal is to have a default, extensible implementation
of the HPROF handler that DDMS and the plug-in can reuse. This will reduce
duplicated code.

Change-Id: Ifc48926c7f6f1c3ea49a4aa94053664be83cbb06
7ab724a2d101fb390a2622c3f0c90405c91f78fb 03-Sep-2009 Xavier Ducrohet <xav@android.com> Make DDMS log way less verbose.

All the Log.i() calls were in fact debug logging, so I moved them
to Log.d()

Change-Id: I47b9cd8e85e630d61506c8c2df3baf245a706e03
84ef3e94dab2170cdb2a4992b045ddeb7f83ccd9 25-Mar-2009 Andy McFadden <> Automated import from //branches/donutburger/...@140700,140700
dde2436ae5f25424ee560ffbc2d303922033f42f 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import //branches/master/...@140412