summaryrefslogtreecommitdiff
path: root/gprof/gprof.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-07-30 07:02:54 +0000
committerUlrich Drepper <drepper@redhat.com>2002-07-30 07:02:54 +0000
commit81f52cf695460784f1aa4b034747584a10c8654d (patch)
tree3a61fd198d91178687fe5079a6197da1103994ab /gprof/gprof.texi
parent152e6c274da281771aacdd67ffe5deb017694f25 (diff)
downloadbinutils-redhat-81f52cf695460784f1aa4b034747584a10c8654d.tar.gz
(Executing the Program): Add documentation on how to use bbconv.pl.
Diffstat (limited to 'gprof/gprof.texi')
-rw-r--r--gprof/gprof.texi16
1 files changed, 15 insertions, 1 deletions
diff --git a/gprof/gprof.texi b/gprof/gprof.texi
index a1c6335333..9789ac7d99 100644
--- a/gprof/gprof.texi
+++ b/gprof/gprof.texi
@@ -357,7 +357,21 @@ appearance of a human-readable @file{bb.out} means the basic-block
counts didn't get written into @file{gmon.out}.
The Perl script @code{bbconv.pl}, included with the @code{gprof}
source distribution, will convert a @file{bb.out} file into
-a format readable by @code{gprof}.
+a format readable by @code{gprof}. Invoke it like this:
+
+@smallexample
+bbconv.pl < bb.out > @var{bh-data}
+@end smallexample
+
+This translates the information in @file{bb.out} into a form that
+@code{gprof} can understand. But you still need to tell @code{gprof}
+about the existence of this translated information. To do that, include
+@var{bb-data} on the @code{gprof} command line, @emph{along with
+@file{gmon.out}}, like this:
+
+@smallexample
+gprof @var{options} @var{executable-file} gmon.out @var{bb-data} [@var{yet-more-profile-data-files}@dots{}] [> @var{outfile}]
+@end smallexample
@node Invoking
@chapter @code{gprof} Command Summary