The call graph collector of the VTune(TM) Performance Analyzer collects information about the program flow of an application, that is, the number of function calls to some other function and the amount of time each function spent executing its code and/or calling other functions.
A function can be a caller, and/or a callee. In many cases, the caller may call the callee from several places (sites), so call graph also provides call information per site.
Call graph profiling includes collecting and analyzing function call information and displaying the results in the following views:
For the graphical interface:
For the command-line interface:
Process Summary
Thread Summary
Module Summary
Function Summary
You can also drill down from these views to the source and see call graph data summary by function. In the command line interface, use the -code option to open the source view for a monitored module.
Use the VTune analyzer to profile your executable files or Java* applications and generate a graph of active functions. You can configure instrumentation modes when you define your Activity properties in the graphical interface or using the configuration file in the command-line mode.
Since call graph profiling requires instrumentation of your application, your application may execute slower.
For the command line help on the call graph collector configuration options, type in: vtl -help -c callgraph.
For the command line help on the call graph view options, type in: vtl -help -v callgraph.
View the manual page for the brief reference on the call graph data collector configuration and view options: man callgraph OR man 7 callgraph.
Click the following buttons for more information about call graph:
last updated: June 10, 2009