prof
[
options
] [
object_file
]
Display the profile data for an object file.
The file's symbol table is compared with profile file
mon.out
(previously created by the
monitor
function).
Choose only one of the sort options
-a
,
-c
,
-n
, or
-t
.
See also
lprof
and
gprof
.
-
-a
-
List output by symbol address.
-
-c
-
List output by decreasing number of calls.
-
-g
-
Include non-global (static) function symbols.
-
-h
-
Suppress the report heading.
-
-l
-
Exclude non-global function symbols (the default).
-
-m
pf
-
Use
pf
as the input profile file instead of
mon.out
.
-
-n
-
List by symbol name.
-
-o
-
Show addresses in octal (invalid with
-x
).
-
-s
-
Print a summary on standard error.
-
-t
-
List by decreasing total time percentage (the default).
-
-V
-
Print version information on standard error.
-
-x
-
Show addresses in hexadecimal (invalid with
-o
).
-
-z
-
Include zero usage calls.