From: Arabinda V. <ara...@gm...> - 2009-11-05 04:00:49
|
Thanks Maynard for the reply. I have tried as you have advised. It is happily taking the detault path /var/lib/oprofile. The file system is mounted through the NFS on host. Can this be an issue? -Arabinda On Tue, Nov 3, 2009 at 9:08 PM, Maynard Johnson <may...@us...> wrote: > Arabinda Verma wrote: > >> Hello List, >> >> I am trying to run Oprofile 0.9.5 on ARMv6 based target. >> >> The CPU on target is S3C64100 a ARMv6 processor. I have compiled the >> kernel >> 2.6.21 with following config options >> >> ... >> CONFIG_ARMC6=y >> CONFIG_ARM11_CORE=y >> ... >> ... >> CONFIG_PROFILING=y >> CONFIG_OPROFILE=y >> ... >> ... >> >> Oprofile 0.9.5 and libpopt was compiled. The compilation and installation >> went through smoothly. Have I missed any thing while compilation? Or the >> libpopt was incompatible with oprofile 0.9.5. >> >> I have used following sequence of command and setup for profiling. >> >> Setup: >> opcontrol --no-vmlinux --image=all --callgraph=20 --setup >> >> Start: >> opcontrol --start >> > > Add '--verbose' to your start command and make sure the oprofile daemon is > starting with the default session-dir . . . /var/lib/oprofile. If it's not, > then deinit oprofile and do one of the following: > 1) rm /root/.oprofile/daemonrc (and redo your setup commands) or > 2) run 'opcontrol --setup --session-dir=/var/lib/oprofile' and restart > oprofile > > -Maynard > > The Oprofile Daemon start without any error. >> >> After letting it run for couple of minutes, profiling was stopped. >> opcontrol --stop >> >> Then dumped the data with >> opcontrol --dump >> >> The result with >> opreport --callgraph. >> >> The opreport command gives following output >> error: no sample files found: profile specification too strict ? >> >> The kernel boot message detects the ARMv6 with following message >> Oprofile: using ARMv6 >> >> The /dev/oprofile is mounted. >> >> Your help will be highly appreciated. >> >> Thanks, >> Arabinda >> >> >> >> ------------------------------------------------------------------------ >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> oprofile-list mailing list >> opr...@li... >> https://lists.sourceforge.net/lists/listinfo/oprofile-list >> > > |