Eclipse-Callgraph
69
• SystemTap Beginner's Guide
• SystemTap Tapset Reference
• SystemTap Language Reference (documentation supplied by IBM)
The SystemTap Beginner's Guide and SystemTap Tapset Reference are also available locally when
you install the systemtap package:
• file:///usr/share/doc/systemtap-version/SystemTap_Beginners_Guide/
index.html
• file:///usr/share/doc/systemtap-version/SystemTap_Beginners_Guide.pdf
• file:///usr/share/doc/systemtap-version/tapsets/index.html
• file:///usr/share/doc/systemtap-version/tapsets.pdf
The Section 6.4.1, “SystemTap Compile Server”, Section 6.4.2, “SystemTap Support for Unprivileged
Users”, and Section 6.4.3, “ SSL and Certificate Management” sections are excerpts from the
SystemTap Support for Unprivileged Users and Server Client Deployment whitepaper. This whitepaper
also provides more details on each feature, along with a case study to help illustrate their application
in a real-world environment.
6.5. Eclipse-Callgraph
Red Hat Enterprise Linux 6 also includes the Eclipse-Callgraph plug-in, which provides a visual
function trace of a program. This allows you to view a visualization of selected (or even all) functions
used by the profiled application.
Eclipse-Callgraph uses SystemTap to perform a comprehensive function trace within a program.
As such, you will need to install SystemTap along with the required kernel information packages.
For more information about SystemTap, refer to Section 6.4, “SystemTap ” and other SystemTap
documentation provided by Red Hat.
This plug-in allows you to profile C/C++ projects directly within the Eclipse IDE, providing various
runtime details such as:
• The relationship between function calls
• Number of times each function was called
• Time taken by each instance of a function (relative to the program's execution time)
• Time taken by all instances of a function (relative to program's execution time)
6.5.1. Launching a Profile With Eclipse-Callgraph
To profile an application with Eclipse-Callgraph, simply right-click on a project and navigate to Profile
As > Function callgraph. This will open a dialogue from which you can select an executable to
profile.
Commentaires sur ces manuels