Next: Miscellaneous Options, Previous: Output Options, Up: Invoking
-a
--no-static
gprof
to suppress the printing of
statically declared (private) functions. (These are functions whose
names are not listed as global, and which are not visible outside the
file/function/block where they were defined.) Time spent in these
functions, calls to/from them, etc, will all be attributed to the
function that was loaded directly before it in the executable file.
This option affects both the flat profile and the call graph.
-c
--static-call-graph
-D
--ignore-non-functions
gprof
to ignore symbols which
are not known to be functions. This option will give more accurate
profile data on systems where it is supported (Solaris and HPUX for
example).
-k
from/
to-l
--line
gprof
, and magnifies statistical
inaccuracies.
See Sampling Error.
-m
num--min-count=
num-n[
symspec]
--time[=
symspec]
gprof
, in its call graph analysis,
to only propagate times for symbols matching symspec.
-N[
symspec]
--no-time[=
symspec]
gprof
, in its call graph analysis,
not to propagate times for symbols matching symspec.
-z
--display-unused-functions
gprof
will mention all
functions in the flat profile, even those that were never called, and
that had no time spent in them. This is useful in conjunction with the
`-c' option for discovering which routines were never called.