From 4fe2350be4d72ed94f6bd62d5e6af9070ed1794a Mon Sep 17 00:00:00 2001 From: "David D. Zuhn" Date: Thu, 16 Dec 1993 04:18:17 +0000 Subject: [PATCH] document -v flag --- gprof/ChangeLog | 6 ++++++ gprof/gprof.1 | 3 +++ gprof/gprof.texi | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 12fac71b4c0..320f3675c67 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 adb8b31cb76..d86a3918dc6 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 6f5c05dffa8..1c173f7593d 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 -- 2.30.2