OSDN Git Service

DDMS: Add support for profiling with VM able to send the result through JDWP. Do...
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 22:47:46 +0000 (14:47 -0800)
commitb752b6ca3e8b3553e8ede1344c3b3b4aa13b825d
tree872317df7d82d9c2873e5177f8d471bc120fcf4c
parent54fa045cb564de89ea474d5076a1f220664330fd
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
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