|Re: Problem with OPofiler in Ubuntu [message #783360 is a reply to message #780754]
||Wed, 25 January 2012 10:27
| Roland Grunberg
Registered: December 2009
i still see the error "no profilling data is on the system".
Often when this happens it could be an issue with the sampling rate. Oprofile checks hardware counters at intervals. By lowering the "Count" you can increase this interval and hopefully collect some samples. This setting can be changed by right clicking your project, going to profile configurations, selecting the oprofile configuration for the project, and selecting the events tab, where you will see the setting. (http://wiki.eclipse.org/Linux_Tools_Project/OProfile/User_Guide#Regular_Mode)
and this is what i get when i run oprofile from eclipse in the terminal i "sudo opcontrol --status":
Daemon running: pid 1562
Event 0: CPU_CLK_UNHALTED:100000:0:1:1
Separate options: none
vmlinux file: none
Image filter: /home/blabla/workspace/factorial/Debug/factorial
Call-graph depth: 0
still nothing happens.
do you have any more suggestions???
The daemon seems to be running and the settings look fine. After running the binary, what does running 'opreport' show you? If it mentions that no sample file was found then it would confirm that you need to reduce the sampling frequency (mentioned above). Otherwise this would seem to be a bug requiring some investigation.
Powered by FUDForum
. Page generated in 0.01640 seconds