Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Linux Tools Project » oprofile problem: "No profiling data is on the system"
oprofile problem: "No profiling data is on the system" [message #569326] Fri, 18 June 2010 03:14
Jesper Eskilson is currently offline Jesper Eskilson
Messages: 131
Registered: July 2009
Senior Member
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:

http://download.eclipse.org/technology/linuxtools/updates-ni ghtly

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
http://www.eclipse.org/linuxtools/projectPages/oprofile/).

--
Jesper Eskilson
Developer
IAR Systems
Previous Topic:[Valgrind Options]: Please ensure Valgrind is installed and in your path.
Next Topic:Any luck w/ oprofile plugin on Ubuntu Lucid w/ Eclipse Galileo
Goto Forum:
  


Current Time: Mon Sep 01 19:46:47 EDT 2014

Powered by FUDForum. Page generated in 0.01626 seconds