I ran the following Android Monkey command:
adb shell monkey --hprof -v -p com.my.app 5000
It should create an hprof file in / data / misc, but that is not the case. I am chmod'ed 777 / data / miscellaneous.
Then I tried to kill -10 APP_PID, but got the following under the logarithm:
I/dalvikvm( 771): threadid=4: reacting to signal 10 I/dalvikvm( 771): SIGUSR1 forcing GC (no HPROF) D/dalvikvm( 771): GC_EXPLICIT freed 46K, 38% free 8352K/13383K, external 15387K/15496K, paused 98ms
I am running Cyanogenmod version 7, version of Android 2.3.7 on Galaxy S.
Why is there βno HPROFβ, and how do I get a HPROF reset via Monkey and kill -10?
thanks
source share