How to collect long-time method traces by 'am profile'?

by Shuo » Sat, 17 Jul 2010 02:27:06 GMT

Sponsored Links
 I am using the 'am profile <PROCESS> start|stop' to get method traces.
What I did is:

# am profile <PROCESS> start /sdcard/trace

wait for 10min, playing with the app from which I am collecting traces

# am profile <PROCESS> stop

But in the trace file there is only records for 3 seconds. Do you know
how can I collect traces for long-time?



Other Threads

1. OAuth, HttpClient, Android 1.0

I am trying to use oauth-1.3.jar in my Android application.  As far as
I can tell, oauth-1.3.jar is
dependent upon Apache HttpClient 3.1

Has anybody been able to make this work?    (I'm aware that the
Android platform uses the HttpClient 4 API)

I opened an issue in the OAuth tracker:



2. wat is the best way to get started?

please help me.
what is the best way to get started for developing any android
i m new to dis field.
shall i first read java and then move ahead?or wat to do?just advice


3. Does Android have a timeout callback?

4. Browser problem with T-Mobile G1

5. Application for this beginner-group

6. file that is wriiten on an SDCard not visible

7. Android Market Index