Features/EclipseCallGraph

From FedoraProject

< Features
Revision as of 20:49, 30 July 2009 by Valce (Talk | contribs)

Jump to: navigation, search

Contents

Launch local SystemTap scripts on Eclipse

Summary

GUI for launching custom/preset SystemTap scripts on Eclipse. Also provides a Zest-based graphing interface for graphical views of the user's program.

Owner

  • Name: Charley Wang
  • E-mail: chwang@redhat.com
  • Name: Roland Grunberg
  • E-mail: rgrunber@redhat.com

Current status

  • Targeted release: Fedora 12
  • Last updated: July 23, 2009
  • Percentage of completion: 90%

Detailed Description

Allow developers to launch SystemTap scripts on their C/C++ projects directly from Eclipse. Provides a launch wizard for easy launches, as well as a few prebuilt scripts. The included graphical viewing program generates a program graph displaying time information for function calls. Also comes with the ability to annotate functions, allowing the user to mark graph nodes and displaying user-specified, function-specific information on the graph.

Benefit to Fedora

Makes it easier for developers to use SystemTap, and provides a neat way to graphically profile C/C++ projects developed through Eclipse.

Scope

Adds a small plugin family to Eclipse, which will provide the above functionality.

Test Plan

  1. Run upstream unit tests (mostly already written)

User Experience

  1. Users of Eclipse's CDT tools will be able to select Profile As and select one of several prebuilt SystemTap scripts, or launch a custom script through the script launch Wizard.
  2. Brief demo video : http://altrez.darktech.org/quickstapgraphdemo.ogg (~ 30 sec)

Dependencies

  • SystemTap translator/driver (version 0.9.8/0.141+) <rpm: systemtap>
  • Eclipse 3.4.1 or greater, with CDT <rpm: eclipse-cdt, eclipse-platform>
  • Eclipse GEF (specifically Zest) <rpm: eclipse-gef>

Contingency Plan

  • Continue without such capability.

Documentation

  • FIXME--FESCo requests documentation update 2009-07-29 (please do not remove this line until documentation or links to the documentation has been added)
  • SystemTap documentation: The upstream website has documentation and examples of SystemTap scripts.
  • Built-in About function will explain how to use the feature. The included scripts aim to 'just work' when selected, and a built-in Wizard will try to assist the user in launching their scripts/scripts they've downloaded.

Release Notes

Users will need to be part of the stapdev group on their machine in order to fully take advantage of SystemTap's offerings.