OSDN Git Service

DDMS: Add support for profiling with VM able to send the result through JDWP.
authorXavier Ducrohet <xav@android.com>
Thu, 28 Jan 2010 18:44:02 +0000 (10:44 -0800)
committerXavier Ducrohet <xav@android.com>
Thu, 28 Jan 2010 21:47:12 +0000 (13:47 -0800)
commitde0716ae5b7caf7766e656b93bff971ce75d94b6
treea8fde8bad38c40805f5390d6ef7f99611736f0ad
parent2d653fac401f9b707dbe4c17eb1045143401ffb0
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
ddms/libs/ddmlib/src/com/android/ddmlib/Client.java
ddms/libs/ddmlib/src/com/android/ddmlib/ClientData.java
ddms/libs/ddmlib/src/com/android/ddmlib/HandleProfiling.java
ddms/libs/ddmuilib/src/com/android/ddmuilib/InfoPanel.java
ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/MethodProfilingHandler.java