For simple uses: | |
[some:][(opt1,...)]pattern | |
| Matches the executable base name of each new process |
| against each glob pattern. A glob pattern follows the Unix |
| |
| patterns match, the process is measured. Otherwise the |
| process is tracked. |
| For more information, see “Using |
If you specify multiple
Using
The syntax for
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 3 Action Options Used with
Option | Description |
|
|
measure | Default. Measures the process. |
|
|
track | 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. |
|
|
ignore | The process is not measured. HP Caliper does not track events for this process or any child the |
| process may create. |
|
|
The last option specified takes precedence.
Table 4 Pattern String Interpretation Options Used with
Option | Description |
|
|
glob | Default. Interprets the string as a |
|
|
regexp | HP Caliper interprets the string as a single Python or Perl type regular expression that is used |
| with search. |
|
|
The last option specified takes precedence.
Table 5 Name Source Options Used with
Option | Description |
|
|
file | Default. The name is the executable base name of the process. |
|
|
arg0 or argv0 | The name is argument 0 of the process. |
|
|
98 Configuring HP Caliper