home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    


/usr/ccs/bin/prof [options ] [object_file ]

Display the profile data for an object file. The file's symbol table is compared with profile file mon.out (created by programs compiled with cc -p ). Choose only one of the sort options -a , -c , -n , or -t . See also gprof and lprof .



List output by symbol address.


List output by decreasing number of calls.


Demangle C++ symbol names. Solaris only.


Include nonglobal (static) function symbols (invalid with -l ).


Suppress the report heading.


Exclude nonglobal function symbols (the default). Invalid with -g .

-m pf

Use pf as the input profile file instead of mon.out .


List by symbol name.


Show addresses in octal (invalid with -x ).


Print a summary on standard error.


List by decreasing total time percentage (the default).


Print version information on standard error.


Show addresses in hexadecimal (invalid with -o ).


Include zero usage calls.

Previous: Reference: printf UNIX in a Nutshell: System V Edition Next: Reference: prs
Reference: printf Book Index Reference: prs

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System