per-process

Creates individual report files for each process with program name appended

 

to each file.

shared

Creates a single file containing the results for all processes. This is the default

 

setting.

unique

Appends the process ID to the data file name.

When saving information per process, you can specify a nonexistent directory for the file name and HP Caliper will create the directory and put all the files in the new directory. For example:

-o newdir/outfile,p

This approach creates the newdir directory, which contains the output files for each process measured.

NOTE: The -ooption is also used with the caliper info command and with the caliper advise command. See “How to Display Reference Information About CPU Counters or HP Caliper Report Types” (p. 102) and “Command Line to Invoke the Advisor” (p. 79).

-p or --process

-p defaultallrootroot-forks[some:][(OPT1 ,...)]PATTERN

Specifies which processes in the process tree should be measured.

root

Measures only the root process.

root-forksMeasures the root process and processes forked from it.

The default setting is the same as all.

For more information, see “Specifying Processes to Measure” (p. 97).

-r or --report-details

Specifies the level of program detail in reports.

This option has two forms, depending on how it is used:

For the Function Details section of a PMU histogram report

For the fcover report

-r for PMU Histogram Reports

-r [statement][:instruction][none][all]

Default value is -r statement.

statement

Shows source statements (if source code exists, or line numbers otherwise) with

 

associated performance data. Machine instructions are not shown.

 

You can shorten this option to -rs.

instruction

Shows machine instructions. Source statements are not shown.

 

You can shorten this option to -ri.

none

Prevents generation of the Function Details section.

 

You can shorten this option to -rn.

all

Shows all data (source statements and machine instructions) in the Function

 

Details section.

 

You can shorten this option to -ra.

-r for Function Coverage Reports

-r [module][:directory][:file][:function][:unknown][none][all]

52 HP Caliper Options

Page 52
Image 52
HP UX IPFilter Software manual Or --process, Or --report-details, For PMU Histogram Reports, For Function Coverage Reports