HP Caliper User's Guide
For more information, see “Using -p some ”
(p. 130).
If you specify multiple -p options, the last one takes precedence.
Using -p some
The syntax for -p some is the most complex.
-p [some:][(opt1[,opt2,...])]pattern
where:
opt1, opt2
represent the options from the following tables that either specify the
action to take or a condition the process must meet
pattern
represents the string that HP Caliper uses to compare with options
that require a pattern
When you specify multiple some: arguments for process, the result of each some:
argument is passed the subsequent some: argument, typically reducing the number
of matching results.
The (opt1[,opt2,...]) are optional and only required to change the default
behavior. The absence of options is equivalent to providing the options (measure,
file).
Options can be grouped in categories, as shown in the tables below.
Table 8-2 Action Options Used with -p some
DescriptionOption
Default. Measures the process.
measure
The process is not measured. However, HP Caliper learns about events in this process,
in particular, creation of new processes via fork, vfork, and exec.
track
The process is not measured. HP Caliper does not track events for this process or any
child the process may create.
ignore
The last option specified takes precedence.
Table 8-3 Pattern String Interpretation Options Used with -p some
DescriptionOption
Default. Interprets the string as a “:”-separated list of glob patterns.glob
HP Caliper interprets the string as a single Python or Perl type regular expression
that is used with search.
regexp
The last option specified takes precedence.
130 Configuring HP Caliper