From Fedora Project Wiki

Launch local SystemTap scripts on Eclipse

Note.png
This is a sandbox for Charley and Roland's feature

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
  • Name: Roland Grunberg

Current status

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

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

Test Plan

  1. Run upstream unit tests
  2. Write JUnit tests
  3. Improve test coverage of core components to 80%
  4. Stress test to determine limit on size of C/C++ binary that can be probed

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. Sample videos will be posted soon.

Dependencies

  • SystemTap translator/driver (version 0.9.8/0.141+)
  • Eclipse 3.4.1 or greater
  • org.eclipse.linuxtools.profiling.launch [Eclipse Profiling Framework]
  • org.eclipse.draw2d
  • org.eclipse.zest [Zest : The Eclipse Visualization Toolkit]

Contingency Plan

  • Continue without such capability.

Documentation

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.