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.
Several components can be specified as arguments to the profctl utility.