Hi All , Here are the steps I followed
1. opcontrol --setup 2. opcontrol --vmlinux=/sdcard/vmlinux --kernel- range=0xc002f000,0xc0326000 --event=CPU_CYCLES:64 3 opcontrol --start Run application 4 opcontrol --stop But i dont see any file created in /data/oprofile/samples. And also here is oprofiled.log -- OProfile Statistics -- Nr. sample dumps: 1 Nr. non-backtrace samples: 0 Nr. kernel samples: 0 Nr. lost samples (no kernel/user): 0 Nr. lost kernel samples: 0 Nr. incomplete code structs: 0 Nr. samples lost due to sample file open failure: 0 Nr. samples lost due to no permanent mapping: 0 Nr. event lost due to buffer overflow: 0 Nr. samples lost due to no mapping: 0 Nr. backtraces skipped due to no file mapping: 0 Nr. samples lost due to no mm: 0 ---- Statistics for cpu : 1 Nr. samples lost cpu buffer overflow: 0 Nr. samples received: 0 Nr. backtrace aborted: 0 Nr. samples lost invalid pc: 0 ---- Statistics for cpu : 0 Nr. samples lost cpu buffer overflow: 0 Nr. samples received: 0 Nr. backtrace aborted: 0 Nr. samples lost invalid pc: 0 Any idea why samples are not generated Regards Namit -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel To unsubscribe, reply using "remove me" as the subject.
