Add -B to the help output from gprof, and add suitable documentation.

PR 29627
	* gprof.c (usage): Add -B.
	* gprof.texi (synopsis): Add -B.
	(Output Options): Add entry for -B.
This commit is contained in:
Nick Clifton 2022-09-29 13:12:37 +01:00
parent 1557c9ff81
commit 55b0ce4403
3 changed files with 12 additions and 2 deletions

View 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> 2022-07-08 Nick Clifton <nickc@redhat.com>
* 2.39 branch created. * 2.39 branch created.

View File

@ -160,7 +160,7 @@ static void
usage (FILE *stream, int status) usage (FILE *stream, int status)
{ {
fprintf (stream, _("\ 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\ [-d[num]] [-k from/to] [-m min-count] [-t table-length]\n\
[--[no-]annotated-source[=name]] [--[no-]exec-counts[=name]]\n\ [--[no-]annotated-source[=name]] [--[no-]exec-counts[=name]]\n\
[--[no-]flat-profile[=name]] [--[no-]graph[=name]]\n\ [--[no-]flat-profile[=name]] [--[no-]graph[=name]]\n\

View File

@ -110,7 +110,7 @@ in the section entitled ``GNU Free Documentation License''.
@smallexample @smallexample
@c man begin SYNOPSIS @c man begin SYNOPSIS
gprof [ -[abcDhilLrsTvwxyz] ] [ -[ACeEfFJnNOpPqQRStZ][@var{name}] ] gprof [ -[abcDhilLrsTvwxyz] ] [ -[ABCeEfFJnNOpPqQRStZ][@var{name}] ]
[ -I @var{dirs} ] [ -d[@var{num}] ] [ -k @var{from/to} ] [ -I @var{dirs} ] [ -d[@var{num}] ] [ -k @var{from/to} ]
[ -m @var{min-count} ] [ -R @var{map_file} ] [ -t @var{table-length} ] [ -m @var{min-count} ] [ -R @var{map_file} ] [ -t @var{table-length} ]
[ --[no-]annotated-source[=@var{name}] ] [ --[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 the tables. This is useful if you intend to print out the output, or
are tired of seeing the blurbs. 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}] @item -C[@var{symspec}]
@itemx --exec-counts[=@var{symspec}] @itemx --exec-counts[=@var{symspec}]
The @samp{-C} option causes @code{gprof} to The @samp{-C} option causes @code{gprof} to