ChorusOS 5.0 Application Developer's Guide

Starting a Performance Profiling Session

Performance profiling is initiated by running the profctl utility on the target system, with the -start option. This utility considers the components to be profiled as arguments.

If the_process was part of the system image, use the following command to initiate the performance profiling session:


% rsh trumpet arun profctl -start -b the_process

If the_process was loaded dynamically, use the following command:


% rsh trumpet arun profctl -start -a the_process pid

Where pid is the numeric identifier of the process (as returned by the aps command).

Run the application.


Note -

Several components can be specified as arguments to the profctl utility.