Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: Performance Analyzer Oracle Solaris Studio 12.3 Information Library |
1. Overview of the Performance Analyzer
3. Collecting Performance Data
4. The Performance Analyzer Tool
Commands That Control the Function List
Commands That Control the Callers-Callees List
cprepend function-name [N | ADDR]
cappend function-name [N | ADDR]
Commands That Control the Call Tree List
Commands That Control the Leak and Allocation Lists
Commands That Control the Source and Disassembly Listings
source|src { filename | function_name } [ N]
disasm|dis { filename | function_name } [ N]
Commands That Control Searching For Source Files
Commands That Control Hardware Counter Dataspace and Memory Object Lists
mobj_define mobj_type index_exp
Commands That Control Index Object Lists
indxobj_define indxobj_type index_exp
Commands for the OpenMP Index Objects
Commands That Support the Thread Analyzer
Commands That List Experiments, Samples, Threads, and LWPs
Commands That Control Filtering of Experiment Data
Specifying a Filter Expression
Listing Keywords for a Filter Expression
Selecting Samples, Threads, LWPs, and CPUs for Filtering
Commands That Control Load Object Expansion and Collapse
object_show object1,object2,...
object_hide object1,object2,...
object_api object1,object2,...
object_select object1,object2,...
name { long | short } [ :{ shared_object_name | no_shared_object_name } ]
viewmode { user| expert | machine }
Commands That Print Other Information
Commands That Set Defaults Only For the Performance Analyzer
6. Understanding the Performance Analyzer and Its Data
This chapter explains how to use the er_print utility for performance analysis. The er_print utility prints an ASCII version of the various displays supported by the Performance Analyzer. The information is written to standard output unless you redirect it to a file. You must give the er_print utility the name of one or more experiments or experiment groups generated by the Collector as arguments.
The er_print utility only works on experiments that were recorded with Sun Studio 12 Update 1, Oracle Solaris Studio 12.2, and this release, Oracle Solaris Studio 12.3. An error is reported if you use an experiment recorded with any other version. If you have older experiments, you must use the version of er_print from the release with which the experiment was recorded.
You can use the er_print utility to display the performance metrics for functions, for callers and callees; the source code listing and disassembly listing; sampling information; dataspace data; thread analysis data, and execution statistics.
When invoked on more than one experiment or experiment groups, er_print aggregates the experiment data by default, but can also be used to compare the experiments. See compare { on | off } for more information.
This chapter covers the following topics.
Commands That Control Hardware Counter Dataspace and Memory Object Lists
Commands That Set Defaults Only For the Performance Analyzer
For a description of the data collected by the Collector, see Chapter 2, Performance Data.
For instructions on how to use the Performance Analyzer to display information in a graphical format, see Chapter 4, The Performance Analyzer Tool and the online help.