aboutsummaryrefslogtreecommitdiff
path: root/gprof
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
commit0c24a63fe308fef03ac58f5ed5fe709e99b01f2a (patch)
tree2296539f50a8cdcd4ead531aa66d889a617d0a40 /gprof
parent67f0714670383a2c0c1431676339f0cc8e55a23a (diff)
downloadfsf-binutils-gdb-0c24a63fe308fef03ac58f5ed5fe709e99b01f2a.zip
fsf-binutils-gdb-0c24a63fe308fef03ac58f5ed5fe709e99b01f2a.tar.gz
fsf-binutils-gdb-0c24a63fe308fef03ac58f5ed5fe709e99b01f2a.tar.bz2
(Executing the Program): Add documentation on how to use bbconv.pl.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog5
-rw-r--r--gprof/gprof.texi16
2 files changed, 20 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 9946afc..4245e66 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-29 Ulrich Drepper <drepper@redhat.com>
+
+ * gprof.texi (Executing the Program): Add documentation on how to use
+ bbconv.pl. Patch by Eric Hanchrow.
+
2002-07-25 Nick Clifton <nickc@redhat.com>
* po/es.po: Updated Spanish translation.
diff --git a/gprof/gprof.texi b/gprof/gprof.texi
index a1c6335..9789ac7 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