HP Caliper 5.3 User Guide (5900-1558, February 2011)

all with the --event-defaults option. The default value
is all.) Every processor set (pset) is measured.
The samples can be attributed to processes, or to processes
and modules, or not attributed. For example:
--scope system,attr-mod
Measure for system activity, and attribute samples to
processes and modules within those processes whenever
possible. Samples will be attributed to functions within
those modules, and assembly and source listings in the
Function Details sections are available.
If you use the --scope system option, --scope
system,attr-mod is the default.
The --scope system,attr-mod option can also
be specified as -w.
--scope system,attr-proc
Measure for system activity, and attribute samples to
processes (but not to modules within those processes)
whenever possible. No Function Details sections are
available, because attribution of samples is not done
on specific modules.
--scope system,attr-none
Measure for system activity, but do no attribution to
individual processes running on the system. The only
sample attribution possible is to kernel modules.
Therefore, this qualifier makes sense only if the privilege
level is kernel or all.
When the scope is system, the command-line arguments
program and program_args should not be provided.
pset
pset_id[:pset_id:...]
The subject of measurement is user and kernel activity on
all CPUs belonging to the specified processor sets (psets).
(You can change the privilege level using the
--event-defaults option). For example, --scope
pset 0:1 measures all CPUs belonging to psets 0 and 1.
You can use the psrset -i command to find the processor
assignment for all processor sets in the system.
For details on how to use --scope system, see “Using --scope system for System-Wide
Measurements.
Using --scope system for System-Wide Measurements
When the scope is system, you can specify whether you want the samples to be attributed to the
processes they belong to, or to the processes and the modules of those processes, or not attributed.
Using --scope system is a good first measurement method, allowing you to drill down and
measure individual applications.
With --scope system, the reports for processes and modules look similar to per-process HP
Caliper collection runs. A report is produced for each process or module that HP Caliper recognizes
as a process or module. In addition, a report for the system as a whole is produced, which contains
samples that HP Caliper could not attribute to any individual process.
70 HP Caliper Options