OSDN Git Service

Add FileDescriptor variation of startMethodTracing().
authorDianne Hackborn <hackbod@google.com>
Wed, 24 Jun 2009 02:21:10 +0000 (19:21 -0700)
committerDianne Hackborn <hackbod@google.com>
Wed, 24 Jun 2009 22:08:56 +0000 (15:08 -0700)
commit0f0ae023a3a53f7c9e254283b50a0099781acb79
tree6807f4651f740586cad0bae52a661bde02ae2d6e
parentcda8f8abd1d02f5ab58add1ebb23f20fdab6341c
Add FileDescriptor variation of startMethodTracing().

This is for bug #1829561 ("am profile" with bad filename kills process), which
will allow the am command to take care of opening the file and handing the
resulting fd over to the process to be profiled.
libcore/dalvik/src/main/java/dalvik/system/VMDebug.java
vm/Profile.c
vm/Profile.h
vm/native/dalvik_system_VMDebug.c