Re: Help with oprofile on android - now its about getting callgraph
Maynard Johnson <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 09/01/2014 08:36 AM, C K Kashyap wrote: > Hi, > I finally manged to get oprofile to work on android. I had to use a cortex_a9 device for this. (earlier, I was using arm_krait and it is not supported out of the box). > > I still am not able to get a callgraph though. In the stats I get "backtrace_aborted". When I do a opreport I only get "1 level" details. > > I'd really really appreciate it if someone could let me know if I've missed something Please provide more details: - Linux distribution / kernel version - oprofile version - *Exact* oprofile command(s) for collecting profile - I'm assuming you are using the opcontrol profiler (vs operf) since you say you're seeing some number of backtrace_aborted issues. If my assumption is correct, please provide the output of 'opcontrol --status' during your profile run. - *Exact* opreport command. - Do you see the same problem is you use the oprofile 1.0.0 Release Candidate 2 I announced a bit more than a week ago? http://sourceforge.net/projects/oprofile/files/oprofile/oprofile-1.0.0-rc2/ - And do you see the same problem if you use operf vs opcontrol to collect the profile? -Maynard > > Regards, > Kashyap > > > On Tue, Aug 26, 2014 at 9:02 PM, C K Kashyap <[email protected] <mailto:[email protected]>> wrote: > > Hi, > > I have a asus nexus 7 where I need to profile my c++ app. Is there a place where I can see a step by step instruction for enabling/collecting oprofile data on my app. I found this link http://brownydev.blogspot.in/2012/06/android-oprofile.html from the mailing list but it seems its old - I dont see any "CONFIG_OPROFILE_ARMV7" in the kernel source - I am using - https://android.googlesource.com/kernel/msm.git > > I'd appreciate any help with this very much. For some reason, googling it does not seem to yield any current links to me. > > Regards, > Kashyap > > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > > > > _______________________________________________ > oprofile-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oprofile-list > ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk