NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | SEE ALSO
PROF is a target utility.
PROF is a daemon which answers profiling requests issued by profctl(1CC). PROF is a supervisor actor that can locate and modify static data into the memory context of the profiled supervisor actors. It does this using the system symbol tables (via the N-sym actor). The profiler also dynamically creates and deletes the memory regions used to construct the call graph and count the profiling ticks.
PROF must be running on any target where supervisor profiling is needed, and can only profile CHORUS kernel or supervisor actors. To tally the number of calls to a routine, the modules that make up the program must be compiled using the cc -p option. To be profiled, a dynamically loaded actor must be run using the -k option of the arun C_INIT(1M) command.
To enable profile, PROF should be launched before any profiling session as follows:
rsh -n $REMOTE_TARGET arun PROF & |
The PROF daemon can be killed using the aps and akill C_INIT(1M) commands.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
C_INIT(1M), rsh(1UNIX), profctl(1CC)
NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | SEE ALSO