|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
How to configure oprofile for OMAP3530Hi,
I want to use oprofile for OMAP3530. I am using Ubuntu 9.04 the jaunty jackalope release as host and Code Sourcery's G++ arm gnu linux 4.3-205 version. Ubuntu has linux 2.6.28.13 generic kernel. I have installed oprofile from installation packages. Does it require to configure kernel which is running on target with oprofile enable? I am running my application on Angstrom Demo. Please guide me about to use oprofile for application running on target. Thanks, rach ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ oprofile-list mailing list oprofile-list@... https://lists.sourceforge.net/lists/listinfo/oprofile-list |
|
|
Re: How to configure oprofile for OMAP3530Hi,
On Friday 10 July 2009 12:18:02 Rachit shah wrote: > Hi, > > I want to use oprofile for OMAP3530. I am using Ubuntu 9.04 the jaunty > jackalope release as host and Code Sourcery's G++ arm gnu linux 4.3-205 > version. > Ubuntu has linux 2.6.28.13 generic kernel. I have installed oprofile from > installation packages. > > Does it require to configure kernel which is running on target with > oprofile enable? > I am running my application on Angstrom Demo. > Please guide me about to use oprofile for application running on target. http://marc.info/?l=oprofile-list&m=124634769315909&w=2. It has instructions for the target kernel config and the commands to run. You need recent oprofile binaries on the target (0.9.4 or more recent) to support the ARMv7. > > Thanks, > rach Jean ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ oprofile-list mailing list oprofile-list@... https://lists.sourceforge.net/lists/listinfo/oprofile-list |
|
|
Re: How to configure oprofile for OMAP3530Hello,
Thank for reply. I am using Beaglebaord(OMAP3530) and I am running my application on angstrom Demo kernel. I have checked on Angstrom kernel file system about enable of oprofile "CONFIG_OPROFILE_ARMV7=y". So Now how to configure oprofile so I can do profiling with it on beagleboard. I have also tried to run opcontrol -l command on root and I got output on consol as per uploaded file. Thanks, rach oprofile-l+output.txt
|
|
|
Re: How to configure oprofile for OMAP3530On Monday 13 July 2009 16:07:59 rach81 wrote:
> Hello, > Thank for reply. > I am using Beaglebaord(OMAP3530) and I am running my application on > angstrom Demo kernel. I have checked on Angstrom kernel file system about > enable of oprofile "CONFIG_OPROFILE_ARMV7=y". > So Now how to configure oprofile so I can do profiling with it on > beagleboard. You need to run the commands as listed in the given e-mail thread link. > I have also tried to run opcontrol -l command on root and I got output on > consol as per uploaded file. This looks ok so you have oprofile enabled for youe target processor. > Good luck! > Thanks, > rach > http://www.nabble.com/file/p24462401/oprofile-l%2Boutput.txt > oprofile-l+output.txt > > Jean Pihet wrote: > > Hi, > > > > On Friday 10 July 2009 12:18:02 Rachit shah wrote: > >> Hi, > >> > >> I want to use oprofile for OMAP3530. I am using Ubuntu 9.04 the jaunty > >> jackalope release as host and Code Sourcery's G++ arm gnu linux 4.3-205 > >> version. > >> Ubuntu has linux 2.6.28.13 generic kernel. I have installed oprofile > >> from installation packages. > >> > >> Does it require to configure kernel which is running on target with > >> oprofile enable? > >> I am running my application on Angstrom Demo. > >> Please guide me about to use oprofile for application running on target. > > > > You may want to follow this thread > > http://marc.info/?l=oprofile-list&m=124634769315909&w=2. It has > > instructions > > for the target kernel config and the commands to run. > > > > You need recent oprofile binaries on the target (0.9.4 or more recent) to > > support the ARMv7. > > > >> Thanks, > >> rach > > > > Jean > > > > ------------------------------------------------------------------------- > >----- Enter the BlackBerry Developer Challenge > > This is your chance to win up to $100,000 in prizes! For a limited time, > > vendors submitting new applications to BlackBerry App World(TM) will have > > the opportunity to enter the BlackBerry Developer Challenge. See full > > prize > > details at: http://p.sf.net/sfu/Challenge > > _______________________________________________ > > oprofile-list mailing list > > oprofile-list@... > > https://lists.sourceforge.net/lists/listinfo/oprofile-list ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ oprofile-list mailing list oprofile-list@... https://lists.sourceforge.net/lists/listinfo/oprofile-list |
|
|
Re: How to configure oprofile for OMAP3530Hello Jean,
I have tried to follow as per e-mail link "http://marc.info/?l=oprofile-list&m=124634769315909&w=2" when I tried to use "opcontrol --vmlinux=/root/oprofile/vmlinux", I got following message. The specified file /root/oprofile/vmlinux does not seem to be valid Make sure you are using the non-compressed image file (e.g. vmlinux not vmlinuz) I have vmlinux-2.6.28-omap1 file under /boot folder. I am using Angstrom Demo kernel Image on Beagleboard. I have used /boot kerenl image. I have run my application after opcontrol --start and before --stop command. I have not set any other event or configuration. I have attached opreport with this reply.opreport+output.txt Thanks, rach
|
|
|
Re: How to configure oprofile for OMAP3530Hello Jean,
As per previous email, I wan to get profiling data of my application but in opreport data, I didn't get my application name. Please guide me how to do that. Thanks
|
|
|
Re: How to configure oprofile for OMAP3530Hello Jean,
As per previous e-mail. I have checked execution time of my application by using gettimeofday() function. It's very less than a second around 0.600 ms. I wan to get precise output. Does it use CPU clock for taking sample ? how much is sampling rate? I have tried gprof also but it's sampling rate is 0.01 sec. I wan to check CPU_CYCLES of my application. Please guide me.
|
|
|
Re: How to configure oprofile for OMAP3530Hello Jean,
Sorry, I am sending separate replies. I have attached opreport -l output. CAPTURE27.txt Thanks, rach
|
|
|
Re: How to configure oprofile for OMAP3530On Tuesday 14 July 2009 14:55:14 rach81 wrote:
> Hello Jean, > I have tried to follow as per e-mail link > "http://marc.info/?l=oprofile-list&m=124634769315909&w=2" > when I tried to use "opcontrol --vmlinux=/root/oprofile/vmlinux", I got > following message. > The specified file /root/oprofile/vmlinux does not seem to be valid > Make sure you are using the non-compressed image file (e.g. vmlinux not > vmlinuz) > I have vmlinux-2.6.28-omap1 file under /boot folder. I am using Angstrom To get the details about the kernel you need to copy the vmlinux image to /root/oprofile/vmlinux. > Demo kernel Image on Beagleboard. > I have used /boot kerenl image. > I have run my application after opcontrol --start and before --stop > command. I have not set any other event or configuration. > I have attached opreport with this reply. > http://www.nabble.com/file/p24478893/opreport%2Boutput.txt > opreport+output.txt So it works! > > Thanks, > rach > > Jean Pihet wrote: > > On Monday 13 July 2009 16:07:59 rach81 wrote: > >> Hello, > >> Thank for reply. > >> I am using Beaglebaord(OMAP3530) and I am running my application on > >> angstrom Demo kernel. I have checked on Angstrom kernel file system > >> about enable of oprofile "CONFIG_OPROFILE_ARMV7=y". > >> So Now how to configure oprofile so I can do profiling with it on > >> beagleboard. > > > > You need to run the commands as listed in the given e-mail thread link. > > > >> I have also tried to run opcontrol -l command on root and I got output > >> on consol as per uploaded file. > > > > This looks ok so you have oprofile enabled for youe target processor. > > > > Good luck! > > > >> Thanks, > >> rach > >> http://www.nabble.com/file/p24462401/oprofile-l%2Boutput.txt > >> oprofile-l+output.txt > >> > >> Jean Pihet wrote: > >> > Hi, > >> > > >> > On Friday 10 July 2009 12:18:02 Rachit shah wrote: > >> >> Hi, > >> >> > >> >> I want to use oprofile for OMAP3530. I am using Ubuntu 9.04 the > >> >> jaunty jackalope release as host and Code Sourcery's G++ arm gnu > >> >> linux > >> > >> 4.3-205 > >> > >> >> version. > >> >> Ubuntu has linux 2.6.28.13 generic kernel. I have installed oprofile > >> >> from installation packages. > >> >> > >> >> Does it require to configure kernel which is running on target with > >> >> oprofile enable? > >> >> I am running my application on Angstrom Demo. > >> >> Please guide me about to use oprofile for application running on > >> > >> target. > >> > >> > You may want to follow this thread > >> > http://marc.info/?l=oprofile-list&m=124634769315909&w=2. It has > >> > instructions > >> > for the target kernel config and the commands to run. > >> > > >> > You need recent oprofile binaries on the target (0.9.4 or more recent) > >> > >> to > >> > >> > support the ARMv7. > >> > > >> >> Thanks, > >> >> rach > >> > > >> > Jean > >> > >> ------------------------------------------------------------------------ > >>- > >> > >> >----- Enter the BlackBerry Developer Challenge > >> > This is your chance to win up to $100,000 in prizes! For a limited > >> > >> time, > >> > >> > vendors submitting new applications to BlackBerry App World(TM) will > >> > >> have > >> > >> > the opportunity to enter the BlackBerry Developer Challenge. See full > >> > prize > >> > details at: http://p.sf.net/sfu/Challenge > >> > _______________________________________________ > >> > oprofile-list mailing list > >> > oprofile-list@... > >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > > > > ------------------------------------------------------------------------- > >----- Enter the BlackBerry Developer Challenge > > This is your chance to win up to $100,000 in prizes! For a limited time, > > vendors submitting new applications to BlackBerry App World(TM) will have > > the opportunity to enter the BlackBerry Developer Challenge. See full > > prize > > details at: http://p.sf.net/sfu/Challenge > > _______________________________________________ > > oprofile-list mailing list > > oprofile-list@... > > https://lists.sourceforge.net/lists/listinfo/oprofile-list ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ oprofile-list mailing list oprofile-list@... https://lists.sourceforge.net/lists/listinfo/oprofile-list |
|
|
Re: How to configure oprofile for OMAP3530On Tuesday 14 July 2009 15:39:51 rach81 wrote:
> Hello Jean, > As per previous e-mail. > I have checked execution time of my application by using gettimeofday() > function. It's very less than a second around 0.600 ms. I wan to get > precise output. > Does it use CPU clock for taking sample ? how much is sampling rate? > I have tried gprof also but it's sampling rate is 0.01 sec. > I wan to check CPU_CYCLES of my application. > Please guide me. The running time of the application is too small. Since oprofile (and other profiling tools) are statistical tools, you need to run the system for a while in order to get enough samples. Can you run your app in a loop? A few dozens of seconds should be enough. Regards, Jean > > Jean Pihet wrote: > > On Monday 13 July 2009 16:07:59 rach81 wrote: > >> Hello, > >> Thank for reply. > >> I am using Beaglebaord(OMAP3530) and I am running my application on > >> angstrom Demo kernel. I have checked on Angstrom kernel file system > >> about enable of oprofile "CONFIG_OPROFILE_ARMV7=y". > >> So Now how to configure oprofile so I can do profiling with it on > >> beagleboard. > > > > You need to run the commands as listed in the given e-mail thread link. > > > >> I have also tried to run opcontrol -l command on root and I got output > >> on consol as per uploaded file. > > > > This looks ok so you have oprofile enabled for youe target processor. > > > > Good luck! > > > >> Thanks, > >> rach > >> http://www.nabble.com/file/p24462401/oprofile-l%2Boutput.txt > >> oprofile-l+output.txt > >> > >> Jean Pihet wrote: > >> > Hi, > >> > > >> > On Friday 10 July 2009 12:18:02 Rachit shah wrote: > >> >> Hi, > >> >> > >> >> I want to use oprofile for OMAP3530. I am using Ubuntu 9.04 the > >> >> jaunty jackalope release as host and Code Sourcery's G++ arm gnu > >> >> linux > >> > >> 4.3-205 > >> > >> >> version. > >> >> Ubuntu has linux 2.6.28.13 generic kernel. I have installed oprofile > >> >> from installation packages. > >> >> > >> >> Does it require to configure kernel which is running on target with > >> >> oprofile enable? > >> >> I am running my application on Angstrom Demo. > >> >> Please guide me about to use oprofile for application running on > >> > >> target. > >> > >> > You may want to follow this thread > >> > http://marc.info/?l=oprofile-list&m=124634769315909&w=2. It has > >> > instructions > >> > for the target kernel config and the commands to run. > >> > > >> > You need recent oprofile binaries on the target (0.9.4 or more recent) > >> > >> to > >> > >> > support the ARMv7. > >> > > >> >> Thanks, > >> >> rach > >> > > >> > Jean > >> > >> ------------------------------------------------------------------------ > >>- > >> > >> >----- Enter the BlackBerry Developer Challenge > >> > This is your chance to win up to $100,000 in prizes! For a limited > >> > >> time, > >> > >> > vendors submitting new applications to BlackBerry App World(TM) will > >> > >> have > >> > >> > the opportunity to enter the BlackBerry Developer Challenge. See full > >> > prize > >> > details at: http://p.sf.net/sfu/Challenge > >> > _______________________________________________ > >> > oprofile-list mailing list > >> > oprofile-list@... > >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > > > > ------------------------------------------------------------------------- > >----- Enter the BlackBerry Developer Challenge > > This is your chance to win up to $100,000 in prizes! For a limited time, > > vendors submitting new applications to BlackBerry App World(TM) will have > > the opportunity to enter the BlackBerry Developer Challenge. See full > > prize > > details at: http://p.sf.net/sfu/Challenge > > _______________________________________________ > > oprofile-list mailing list > > oprofile-list@... > > https://lists.sourceforge.net/lists/listinfo/oprofile-list ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ oprofile-list mailing list oprofile-list@... https://lists.sourceforge.net/lists/listinfo/oprofile-list |
|
|
Re: How to configure oprofile for OMAP3530Hello Jean,
Thanks for guiding me. I will check by copying kernel image into /root/oprofile/vmlinux. Does Oprofile use hardware performance counter to get profiling data? As per you other e-mail reply about to run application in loop, that i will check. I have also tried to run another application which execution time is around 1 sec but I didn't get that into opreport -l output. Does it require to configure other command to get application profiling data? Can we change sampling rate? I have found one doc which is oprofile on RedHat http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/s1-oprofile-configuring.html, in that they have mentioned to change sampling rate. Thanks, Rach
|
|
|
Re: How to configure oprofile for OMAP3530Hi Jean,
I have got my application name in opreport by putting application in loop. I haven't copied vmlinux file into /root/oprofile/vmlinux but I have used opcontrol --vmlinux=/boot/vmlinux-2.6.28-omap1. How to get execution time by using this report?I have attached opreport -l output with reply. Test is my application name, it has taken 4 samples as per report but how to know about execution time? Here it shows CPU speed 0 MHz(estimated), even though OMAP3530 600MHz. what will be reason? Thanks, Rach
|
|
|
Re: How to configure oprofile for OMAP3530On Wednesday 15 July 2009 16:44:20 rach81 wrote:
> Hi Jean, > I have got my application name in opreport by putting application in loop. > I haven't copied vmlinux file into /root/oprofile/vmlinux but I have used > opcontrol --vmlinux=/boot/vmlinux-2.6.28-omap1. Ok > How to get execution time by using this report?I have attached opreport -l > output with reply. Oprofile does not show you the execution time, just the statistics about CPU usage. The execution time is reported by 'time <app>'. > Test is my application name, it has taken 4 samples as per report but how > to know about execution time? 4 samples is a bit low, you might need to run it for a longer time in order to get more viable statistical reports. > Here it shows CPU speed 0 MHz(estimated), even though OMAP3530 600MHz. what > will be reason? That is not a problem AFAIK. > > Thanks, > Rach > > Jean Pihet wrote: > > On Tuesday 14 July 2009 15:39:51 rach81 wrote: > >> Hello Jean, http://www.nabble.com/file/p24499407/opreport-l.txt > >> opreport-l.txt > >> As per previous e-mail. > >> I have checked execution time of my application by using gettimeofday() > >> function. It's very less than a second around 0.600 ms. I wan to get > >> precise output. > >> Does it use CPU clock for taking sample ? how much is sampling rate? > >> I have tried gprof also but it's sampling rate is 0.01 sec. > >> I wan to check CPU_CYCLES of my application. > >> Please guide me. > > > > The running time of the application is too small. Since oprofile (and > > other > > profiling tools) are statistical tools, you need to run the system for a > > while in order to get enough samples. > > Can you run your app in a loop? A few dozens of seconds should be enough. > > > > Regards, > > Jean > > > >> Jean Pihet wrote: > >> > On Monday 13 July 2009 16:07:59 rach81 wrote: > >> >> Hello, > >> >> Thank for reply. > >> >> I am using Beaglebaord(OMAP3530) and I am running my application on > >> >> angstrom Demo kernel. I have checked on Angstrom kernel file system > >> >> about enable of oprofile "CONFIG_OPROFILE_ARMV7=y". > >> >> So Now how to configure oprofile so I can do profiling with it on > >> >> beagleboard. > >> > > >> > You need to run the commands as listed in the given e-mail thread > >> > link. > >> > > >> >> I have also tried to run opcontrol -l command on root and I got > >> >> output on consol as per uploaded file. > >> > > >> > This looks ok so you have oprofile enabled for youe target processor. > >> > > >> > Good luck! > >> > > >> >> Thanks, > >> >> rach > >> >> http://www.nabble.com/file/p24462401/oprofile-l%2Boutput.txt > >> >> oprofile-l+output.txt > >> >> > >> >> Jean Pihet wrote: > >> >> > Hi, > >> >> > > >> >> > On Friday 10 July 2009 12:18:02 Rachit shah wrote: > >> >> >> Hi, > >> >> >> > >> >> >> I want to use oprofile for OMAP3530. I am using Ubuntu 9.04 the > >> >> >> jaunty jackalope release as host and Code Sourcery's G++ arm gnu > >> >> >> linux > >> >> > >> >> 4.3-205 > >> >> > >> >> >> version. > >> >> >> Ubuntu has linux 2.6.28.13 generic kernel. I have installed > >> > >> oprofile > >> > >> >> >> from installation packages. > >> >> >> > >> >> >> Does it require to configure kernel which is running on target > >> >> >> with oprofile enable? > >> >> >> I am running my application on Angstrom Demo. > >> >> >> Please guide me about to use oprofile for application running on > >> >> > >> >> target. > >> >> > >> >> > You may want to follow this thread > >> >> > http://marc.info/?l=oprofile-list&m=124634769315909&w=2. It has > >> >> > instructions > >> >> > for the target kernel config and the commands to run. > >> >> > > >> >> > You need recent oprofile binaries on the target (0.9.4 or more > >> > >> recent) > >> > >> >> to > >> >> > >> >> > support the ARMv7. > >> >> > > >> >> >> Thanks, > >> >> >> rach > >> >> > > >> >> > Jean > >> > >> ------------------------------------------------------------------------ > >> > >> >>- > >> >> > >> >> >----- Enter the BlackBerry Developer Challenge > >> >> > This is your chance to win up to $100,000 in prizes! For a limited > >> >> > >> >> time, > >> >> > >> >> > vendors submitting new applications to BlackBerry App World(TM) > >> >> > will > >> >> > >> >> have > >> >> > >> >> > the opportunity to enter the BlackBerry Developer Challenge. See > >> > >> full > >> > >> >> > prize > >> >> > details at: http://p.sf.net/sfu/Challenge > >> >> > _______________________________________________ > >> >> > oprofile-list mailing list > >> >> > oprofile-list@... > >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > >> > >> ------------------------------------------------------------------------ > >>- > >> > >> >----- Enter the BlackBerry Developer Challenge > >> > This is your chance to win up to $100,000 in prizes! For a limited > >> > >> time, > >> > >> > vendors submitting new applications to BlackBerry App World(TM) will > >> > >> have > >> > >> > the opportunity to enter the BlackBerry Developer Challenge. See full > >> > prize > >> > details at: http://p.sf.net/sfu/Challenge > >> > _______________________________________________ > >> > oprofile-list mailing list > >> > oprofile-list@... > >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > > > > ------------------------------------------------------------------------- > >----- Enter the BlackBerry Developer Challenge > > This is your chance to win up to $100,000 in prizes! For a limited time, > > vendors submitting new applications to BlackBerry App World(TM) will have > > the opportunity to enter the BlackBerry Developer Challenge. See full > > prize > > details at: http://p.sf.net/sfu/Challenge > > _______________________________________________ > > oprofile-list mailing list > > oprofile-list@... > > https://lists.sourceforge.net/lists/listinfo/oprofile-list ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ oprofile-list mailing list oprofile-list@... https://lists.sourceforge.net/lists/listinfo/oprofile-list |
|
|
Re: How to configure oprofile for OMAP3530Hi Jean,
Thanks. Actually I wan to get execution time of my application. Here I have calculated samples for CPU_CYCLES event so as per configuration it will take sample at 2000000 count. For my application it has taken 4 sample so it took 8000000 count to execute application ....Does it right? Does it any post profiling command or tool to get execution time? I have checked with time <app> but it give in second only and I want to get in microseconds. Thanks for support. rach
|
| Free embeddable forum powered by Nabble | Forum Help |