aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2004-05-17 05:04:27 +0000
committerBen Elliston <bje@au.ibm.com>2004-05-17 05:04:27 +0000
commita1c211325f9a9181647714b5353560a26face9c8 (patch)
tree128e838d8e5b7085dc425cbd128711be7907c492
parenta74180ee33b792b44eba3a4d41ec7528615ae52a (diff)
downloadfsf-binutils-gdb-a1c211325f9a9181647714b5353560a26face9c8.zip
fsf-binutils-gdb-a1c211325f9a9181647714b5353560a26face9c8.tar.gz
fsf-binutils-gdb-a1c211325f9a9181647714b5353560a26face9c8.tar.bz2
* gprof.texi (Introduction): Update synopsis.
(Output Options): Document -r and -R. (Analysis Options): Document -t, --table-length. (Miscellaneous Options): Document -h, --help.
-rw-r--r--gprof/ChangeLog7
-rw-r--r--gprof/gprof.texi16
2 files changed, 21 insertions, 2 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index bef235b..e9598e5 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,10 @@
+2004-05-17 Ben Elliston <bje@au.ibm.com>
+
+ * gprof.texi (Introduction): Update synopsis.
+ (Output Options): Document -r and -R.
+ (Analysis Options): Document -t, --table-length.
+ (Miscellaneous Options): Document -h, --help.
+
2004-05-13 Nick Clifton <nickc@redhat.com>
* po/fr.po: Updated French translation.
diff --git a/gprof/gprof.texi b/gprof/gprof.texi
index d77d12d..d9161ff 100644
--- a/gprof/gprof.texi
+++ b/gprof/gprof.texi
@@ -105,9 +105,9 @@ section entitled "GNU Free Documentation License".
@smallexample
@c man begin SYNOPSIS
-gprof [ -[abcDhilLsTvwxyz] ] [ -[ACeEfFJnNOpPqQZ][@var{name}] ]
+gprof [ -[abcDhilLrsTvwxyz] ] [ -[ACeEfFJnNOpPqQZ][@var{name}] ]
[ -I @var{dirs} ] [ -d[@var{num}] ] [ -k @var{from/to} ]
- [ -m @var{min-count} ] [ -t @var{table-length} ]
+ [ -m @var{min-count} ] [ -R @var{map_file} ] [ -t @var{table-length} ]
[ --[no-]annotated-source[=@var{name}] ]
[ --[no-]exec-counts[=@var{name}] ]
[ --[no-]flat-profile[=@var{name}] ] [ --[no-]graph[=@var{name}] ]
@@ -546,6 +546,12 @@ call graph.
If @var{symspec} is specified, @code{gprof} prints a call graph,
but excludes matching symbols.
+@item -t
+@itemx --table-length=@var{num}
+The @samp{-t} option causes the @var{num} most active source lines in
+each source file to be listed when source annotation is enabled. The
+default is 10.
+
@item -y
@itemx --separate-files
This option affects annotated source output only.
@@ -565,6 +571,7 @@ The @samp{-Z} option causes @code{gprof} not to
print a tally of functions and the number of times each was called.
If @var{symspec} is specified, print tally, but exclude matching symbols.
+@item -r
@item --function-ordering
The @samp{--function-ordering} option causes @code{gprof} to print a
suggested function ordering for the program based on profiling data.
@@ -576,6 +583,7 @@ The exact details of how to force the linker to place functions
in a particular order is system dependent and out of the scope of this
manual.
+@item -R @var{map_file}
@item --file-ordering @var{map_file}
The @samp{--file-ordering} option causes @code{gprof} to print a
suggested .o link line ordering for the program based on profiling data.
@@ -726,6 +734,10 @@ The @samp{-d @var{num}} option specifies debugging options.
If @var{num} is not specified, enable all debugging.
@xref{Debugging}.
+@item -h
+@itemx --help
+The @samp{-h} option prints command line usage.
+
@item -O@var{name}
@itemx --file-format=@var{name}
Selects the format of the profile data files. Recognized formats are