Intel® VTune™ Amplifier

Viewing Callstack Reports from the Command Line

Use one of these callstack report types to output callstack information for a Hotspots analysis result. These reports focus on call sequences, beginning from the application root, which is usually the main function.

Use This Report Type

To Do This

Supported By This Analysis Type

gprof-cc

View CPU or wait time in a gprof-like format.

Hotspots

top-down

View a call tree for your target application and provide CPU and wait time for each function.

Hotspots

callstacks

View CPU or wait time for call stacks.

Hotspots

Examples

Example 1: gprof-cc Report

Generate a gprof-cc report from the r001hs hotspots result and output to stdout.

$ amplxe-cl -report gprof-cc -result-dir r001hs

Example 2: Saving gprof-cc Report

Generate a gprof-cc report and save it in tab-delimited format as MyReport.csv.

$ amplxe-cl -report gprof-cc -r r001hs -format csv -csv-delimiter tab -report-output MyReport.csv

Example 3: Callstacks Report

Generate a callstacks report that is grouped by function.

$ amplxe-cl -report callstacks -r r001hs -group-by function

See Also