|oprofile problem: "No profiling data is on the system" [message #569326]
||Fri, 18 June 2010 07:14
| Jesper Eskilson
Registered: July 2009
I'm trying to get the oprofile plugin to work, and I think I've gotten |
most issues sorted out (getting oprofile to work is a unfortunately a
usability nightmare for a variety of reasons).
First, I'm using Ubuntu 10.04 64-bit, and the OProfile Eclipse plugins
from the nightly builds site:
OProfile seems to work decently when run on the command line:
$ opcontrol --image=...
$ opcontrol --start
$ ... execute my program ...
$ opcontrol --shutdown
$ opreport -l
This spews out a lot of info, but it also complains:
WARNING! The OProfile kernel driver reports sample buffer overflows.
Not sure what to do about that. Looking at the oprofiled.log file it
seems that at least 30k sample were gathered from each of the 4 cores,
and only a single sample lost due to cpu buffer overflow. (The OProfile
documentation about sample rates and buffer size assume deep knowledge
about kernel internals which I don't have.) The output from opreport -l
only shows a handful of samples in my program, despite the program
running for at least 30 seconds. I though the --image option would
restrict profiling to the given image, but opreport -l shows data from
(seemingly) every process on the system.
Running "opxml info" also works fine, and spews out a decent about of XML.
The problem with the Eclipse OProfile view is that I cannot get any data
into it, it just reports "No profiling data is on the system". Where
does it expect the data to go?
(I realize that getting oprofile to work "out-of-the-box" is more or
less an impossible task, but nonetheless I think that "improved
usability" should be on the list of "future plans" at
Powered by FUDForum
. Page generated in 0.05063 seconds