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
5. The er_print Command Line Performance Analysis 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
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
You can specify filtering of experiment data in two ways:
By specifying a filter expression, which is evaluated for each data record to determine whether or not the record should be included
By selecting experiments, samples, threads, CPUs, and LWPs for filtering
You can specify a filter expression with the filters command.
filter_exp is an expression that evaluates as true for any data record that should be included, and false for records that should not be included. The grammar of the expression is described in Expression Grammar.
You can see a list of operands or keywords that you can use in a filter expression on your experiment.
Print the list of keywords that can be used to build a filter expression. Some keywords and the grammar of a filter expression is described in Expression Grammar.
In the Performance Analyzer, you can see the same information by selecting View ⇒ Manage Filters and clicking the Show Keywords button in the Custom tab.
The syntax of a selection is shown in the following example. This syntax is used in the command descriptions.
[experiment-list:]selection-list[+[ experiment-list:]selection-list … ]
Each selection list can be preceded by an experiment list, separated from it by a colon and no spaces. You can make multiple selections by joining selection lists with a + sign.
The experiment list and the selection list have the same syntax, which is either the keyword all or a list of numbers or ranges of numbers (n-m) separated by commas but no spaces, as shown in this example.
2,4,9-11,23-32,38,40
The experiment numbers can be determined by using the experiment_list command.
Some examples of selections are as follows.
1:1-4+2:5,6 all:1,3-6
In the first example, objects 1 through 4 are selected from experiment 1 and objects 5 and 6 are selected from experiment 2. In the second example, objects 1 and 3 through 6 are selected from all experiments. The objects may be LWPs, threads, or samples.
The commands to select LWPs, samples, CPUs, and threads are not independent. If the experiment list for a command is different from that for the previous command, the experiment list from the latest command is applied to all three selection targets, LWPs, samples, and threads, in the following way.
Existing selections for experiments not in the latest experiment list are turned off.
Existing selections for experiments in the latest experiment list are kept.
Selections are set to all for targets for which no selection has been made.
Select the samples for which you want to display information. The list of samples you selected is displayed when the command finishes.
Select the LWPs about which you want to display information. The list of LWPs you selected is displayed when the command finishes.
Select the threads about which you want to display information. The list of threads you selected is displayed when the command finishes.
Select the CPUs about which you want to display information. The list of CPUs you selected is displayed when the command finishes.