tprof for the SP2
Also based on sampling, which may cause erroneous reports.
Compile using -qlist and -g
Leaves a number of files in the CWD preceded by __.
__h.<file>.c - Hot line profile
__t.<subroutine>_<file>.c - Subroutine profile
__t.main_<file>.c - Executable profile