diff options
-rw-r--r-- | gprof/ChangeLog | 7 | ||||
-rw-r--r-- | gprof/gprof.c | 2 | ||||
-rw-r--r-- | gprof/gprof.texi | 5 |
3 files changed, 12 insertions, 2 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index cf11b98..69fed44 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -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. diff --git a/gprof/gprof.c b/gprof/gprof.c index 6ed88ff..9392575 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -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\ diff --git a/gprof/gprof.texi b/gprof/gprof.texi index 1b6cae9..7cb4c95 100644 --- a/gprof/gprof.texi +++ b/gprof/gprof.texi @@ -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 |