On Nov 23, 9:34 am, Dianne Hackborn <[email protected]> wrote:
> You can also use the new "adb shell am profile ..." commands to start and
> stop profiling in a process.

In case it's not clear from the context: this is particularly useful
because it doesn't require that the app have the external storage
permission.  The "am" command opens the output file on /sdcard and
passes the file descriptor through IPC to the VM.  Because "am" is
running as the shell user, there are no permission issues.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to