aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-12-16 04:18:17 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-12-16 04:18:17 +0000
commit4fe2350be4d72ed94f6bd62d5e6af9070ed1794a (patch)
treeedf81d89c0580b7e6bf25b7595838a1d4435bd91 /gprof
parentb4f476e939ee3cdb85fbc05b531f11049baaa6d8 (diff)
downloadgdb-4fe2350be4d72ed94f6bd62d5e6af9070ed1794a.zip
gdb-4fe2350be4d72ed94f6bd62d5e6af9070ed1794a.tar.gz
gdb-4fe2350be4d72ed94f6bd62d5e6af9070ed1794a.tar.bz2
document -v flag
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog6
-rw-r--r--gprof/gprof.13
-rw-r--r--gprof/gprof.texi4
3 files changed, 13 insertions, 0 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 12fac71..320f367 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,9 @@
+Wed Dec 15 20:16:40 1993 david d `zoo' zuhn (zoo@andros.cygnus.com)
+
+ * gprof.texi (Invoking): add text about -v flag
+
+ * gprof.1: add text about -v flag
+
Wed Dec 8 16:55:06 1993 david d `zoo' zuhn (zoo@andros.cygnus.com)
* gprof.c (VERSION): defined a version macro, print the value
diff --git a/gprof/gprof.1 b/gprof/gprof.1
index adb8b31..d86a391 100644
--- a/gprof/gprof.1
+++ b/gprof/gprof.1
@@ -189,6 +189,9 @@ executions of gprof (probably also with a
.BR \-s )
to accumulate profile data across several runs of an `objfile' file.
.TP
+.B -v
+prints the version number for gprof, and then exits.
+.TP
.B -z
displays routines that have zero usage (as shown by call counts
and accumulated time).
diff --git a/gprof/gprof.texi b/gprof/gprof.texi
index 6f5c05d..1c173f7 100644
--- a/gprof/gprof.texi
+++ b/gprof/gprof.texi
@@ -329,6 +329,10 @@ may be given; only one @var{function_name} may be indicated with each
The @samp{-k} option allows you to delete from the profile any arcs from
routine @var{from} to routine @var{to}.
+@item -v
+The @samp{-v} flags causes @code{gprof} to print the current version
+number, and then exit.
+
@item -z
If you give the @samp{-z} option, @code{gprof} will mention all
functions in the flat profile, even those that were never called, and