Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Linux Distributions Project - OProfile"

(Replacing page with 'For information on the Eclipse OProfile plugin, see the [http://www.eclipse.org/linuxtools/projectPages/oprofile/ project page].')
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Overview==
+
For information on the Eclipse OProfile plugin, see the [http://www.eclipse.org/linuxtools/projectPages/oprofile/ project page].
The Linux Distributions OProfile plugin aims to bring the powerful call profiling capabilities of OProfile to Eclipse, in a manner that is easy to use for developers of any level of experience. Inexperienced users can, with 1 click, determine the parts of their code which use the most time while experienced users of OProfile can perform the same functions they would on the command-line but with a much more rich visualization of the results.
+
 
+
==Current Status==
+
In conjunction with CDT 5.0, the plugin can do the following:
+
 
+
* Launch a local C/C++ application and OProfile simultaneously to start profiling (requires root password to execute oprofile commands)
+
* Automatically gather OProfile data and display in a tree viewer after a launch
+
* Configure OProfile to profile several events simultaneously with as many debug registers as the CPU/OProfile supports
+
* Configure OProfile to profile relevant shared-libraries and/or kernel modules
+
* Jump to the line-number of the corresponding source file on a double-click of a sample
+
* Prompt to save the default session on double-click
+
* View the oprofiled log
+
 
+
==Future Plans==
+
* Robust filtering for events/sessions/images
+
* Code-colourization (similar to [http://www.eclemma.org/index.html EclEmma]) for code hotspots
+
* Comparing two sessions/runs similar to functionality of opreport
+
* Increase test coverage
+
 
+
==Screenshots==
+
 
+
==Try It Out!==
+
* Check out the project into a workspace from eclipse.org svn at
+
 
+
      svn://dev.eclipse.org/svnroot/technology/org.eclipse.linuxtools
+
 
+
      .
+
    * You will need the 3 plugins under oprofile/trunk (
+
 
+
      org.eclipse.linuxtools.oprofile.{core,launch,ui}
+
 
+
      ) and the 2 plugins under profiling/trunk (
+
 
+
      org.eclipse.linuxtools.profiling.{launch,ui}
+
 
+
      ).
+
    * To install, run (as root) the script
+
 
+
      install
+
 
+
      in
+
 
+
      org.eclipse.linuxtools.oprofile.core/scripts
+
 
+
      (currently only tested on fedora x86 machines). This will build a required binary, install a consolehelper authentication link for the plugin to use and ensure that oprofile is installed and loaded properly.
+
    * From there, run the plugin as an Eclipse Application.
+
    * Tested using Eclipse 3.4.1, CDT 5.0, OProfile 0.9.4 on Fedora 9 x86.
+
 
+
 
+
by Kent Sebastian <ksebasti@redhat.com>
+

Latest revision as of 12:09, 26 January 2009

For information on the Eclipse OProfile plugin, see the project page.

Back to the top