Sun Studio 12: Performance Analyzer

Commands That Set Defaults Only For the Performance Analyzer

tabs tab_spec

Set the default set of tabs to be visible in the Analyzer. The tabs are named by the er_print command that generates the corresponding reports, including mobj_type for MemoryObject tabs or indxobj_type for IndexObject tabs. timeline specifies the Timeline tab, and headers specifies the Experiments tab.

Only those tabs that are supported by the data in the loaded experiments are shown.

rtabs tab_spec

Set the default set of tabs to be visible when the Analyzer is invoked with the tha command, for examining Thread Analyzer experiments. Only those tabs that are supported by the data in the loaded experiments are shown.

tlmode tl_mode

Set the display mode options for the Timeline tab of the Performance Analyzer. The list of options is a colon-separated list. The allowed options are described in the following table.

Table 6–6 Timeline Display Mode Options

Option 

Meaning 

lw[p]

Display events for LWPs 

t[hread]

Display events for threads 

c[pu]

Display events for CPUs 

r[oot]

Align call stack at the root 

le[af]

Align call stack at the leaf 

d[epth] nn

Set the maximum depth of the call stack that can be displayed 

The options lwp, thread, and cpu are mutually exclusive, as are root and leaf. If more than one of a set of mutually exclusive options is included in the list, the last one is the only one that is used.

tldata tl_data

Select the default data types shown in the Timeline tab of the Performance Analyzer. The types in the type list are separated by colons. The allowed types are listed in the following table.

Table 6–7 Timeline Display Data Types

Type 

Meaning 

sa[mple]

Display sample data 

c[lock]

Display clock profiling data 

hw[c]

Display hardware counter profiling data 

sy[nctrace]

Display thread synchronization tracing data 

mp[itrace]

Display MPI tracing data 

he[aptrace]

Display heap tracing data