bind #P /prof /prof/ctl /prof/n/name /prof/n/path /prof/n/histogram /prof/n/pctl
The write-only control file ctl provides the facilities to profile a module. Messages written to this file initiate and control the profiling.
The second level directories contain information about each module under profile.
The read-only file name contains the name of the module in the form it appears in it's module source file.
The read-only file path contains the path of the dis file that implements the module.
The write-only control file pctl allows finer control of the profiling of a module. It is not used at present.
The read-only file histogram contains statistics about the profiled module. The file contains a list of pairs of integers seperated by a space. The first number of the pair is a program counter value representing the address of a dis instruction. Addresses start from 0 and the list is in order of increasing address. The second number is the frequency with which this address was sampled. Each read of this file returns the next pair in the list. The frequency is guaranteed to be non-zero.
When coverage profiling the second number of each pair is the number of times that dis instruction was executed, when memory profiling it's the amount of memory in bytes.
The coverage profiling can only be done on dis instructions.
The device can do only one of time, coverage or memory profiling at once.
PROF(3 ) | Rev: Tue Mar 31 02:42:38 GMT 2015 |