]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add -B to the help output from gprof, and add suitable documentation.
authorNick Clifton <nickc@redhat.com>
Thu, 29 Sep 2022 12:12:37 +0000 (13:12 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 29 Sep 2022 12:12:37 +0000 (13:12 +0100)
PR 29627
* gprof.c (usage): Add -B.
* gprof.texi (synopsis): Add -B.
(Output Options): Add entry for -B.

gprof/ChangeLog
gprof/gprof.c
gprof/gprof.texi

index cf11b98e812b47e04cd6078e338e2fe8038a7b27..69fed44e3a4adac0b57b495f419c52f51cb90cc8 100644 (file)
@@ -1,3 +1,10 @@
+2022-09-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 29627
+       * gprof.c (usage): Add -B.
+       * gprof.texi (synopsis): Add -B.
+       (Output Options): Add entry for -B.
+
 2022-07-08  Nick Clifton  <nickc@redhat.com>
 
        * 2.39 branch created.
index 6ed88ff47764682e2ace33c50aaa3cdcd60431ed..9392575f7476348e6db8d111b3bf20aec44c1f0f 100644 (file)
@@ -160,7 +160,7 @@ static void
 usage (FILE *stream, int status)
 {
   fprintf (stream, _("\
-Usage: %s [-[abcDhilLrsTvwxyz]] [-[ACeEfFJnNOpPqQRStZ][name]] [-I dirs]\n\
+Usage: %s [-[abcDhilLrsTvwxyz]] [-[ABCeEfFJnNOpPqQRStZ][name]] [-I dirs]\n\
        [-d[num]] [-k from/to] [-m min-count] [-t table-length]\n\
        [--[no-]annotated-source[=name]] [--[no-]exec-counts[=name]]\n\
        [--[no-]flat-profile[=name]] [--[no-]graph[=name]]\n\
index 1b6cae93d8f81d553d1653f26889bb490642d990..7cb4c957c1243422d3a957035ea890ddd52ac174 100644 (file)
@@ -110,7 +110,7 @@ in the section entitled ``GNU Free Documentation License''.
 
 @smallexample
 @c man begin SYNOPSIS
-gprof [ -[abcDhilLrsTvwxyz] ] [ -[ACeEfFJnNOpPqQRStZ][@var{name}] ]
+gprof [ -[abcDhilLrsTvwxyz] ] [ -[ABCeEfFJnNOpPqQRStZ][@var{name}] ]
  [ -I @var{dirs} ] [ -d[@var{num}] ] [ -k @var{from/to} ]
  [ -m @var{min-count} ] [ -R @var{map_file} ] [ -t @var{table-length} ]
  [ --[no-]annotated-source[=@var{name}] ]
@@ -489,6 +489,9 @@ verbose blurbs that try to explain the meaning of all of the fields in
 the tables.  This is useful if you intend to print out the output, or
 are tired of seeing the blurbs.
 
+@item -B
+The @samp{-B} option causes @code{gprof} to print the call graph analysis.
+
 @item -C[@var{symspec}]
 @itemx --exec-counts[=@var{symspec}]
 The @samp{-C} option causes @code{gprof} to