Using the Command Line to Override Measurement Configuration File Parameters

You can use the HP Caliper command line to override parameters specified in measurement configuration files.

For example, to override the sampling_spec setting in pmu_trace, use a command like this:

$ caliper pmu_trace -speriod,variation,cpu_event program

To override the events to be measured in ecount on HP-UX, use:

$ caliper ecount -mcpu_event,cpu_event program

To override the kernel stop functions and get all frames in the cstack on HP-UX, use:

$ caliper cstack --stop_functions = "" program

See “Hierarchy for Processing an Option Value” (p. 49).

Location of Measurement Configuration Files 47