NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | ATTRIBUTES | SEE ALSO
profrpg is a host utility.
The profrpg utility program is used to produce reports about the profiling of the CHORUS kernel or supervisor actors. It may be run on the host system after a target profiling session.
The actor argument is mandatory. The argument is the name of the profiled component for which a report is requested. Theprofrpg utility takes raw profiling data from the raw_report.prof file.
The profrpg utility writes the profiling report to the standard output.
If several components were involved in the profiling, a separate report must be generated for each component.
The options are:
Sort by increasing symbol address.
Sort by decreasing flat time.
Sort by decreasing total time. This is the default option.
The l, f and t options are mutually exclusive.
When specified, the report displays any recursive loops detected in addition to profiling data. This option is only effective if the full report form can be produced for the component (components generated using the compiler profile option).
This option produces a simplified form of the output. The output includes, for each function, the symbolic function name and its component percentage cost. This option is very useful when the simple report form only is available for the component.
A full profiling session of a sample actor named foo,whose id is foo_id would contain the following sequence:
rsh -n $REMOTE_TARGET arun PROF & rsh $REMOTE_TARGET arun -k foo & # returns foo_id rsh $REMOTE_TARGET arun profctl -start -c foo foo_id # wait for foo to complete rsh $REMOTE_TARGET arun profctl -stop bin/profrpg $EXPORT_DIR/foo > foo.rpg |
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | ATTRIBUTES | SEE ALSO