Article View: gnu.gcc.help
Article #42925Using "tcov" with gcc -a.
From: Stephen Hockema
Date: Thu, 05 Oct 1995 00:00
Date: Thu, 05 Oct 1995 00:00
33 lines
2013 bytes
2013 bytes
I am now using the "-a" option to block-profile code on a sparc-sunos-4.1.3
system. This generates a file called "bb.out" when I execute the code.
I would like to use tcov (or gcov) to analyze this data so I can correspond
basic-block numbers with the correct blocks of source code.
However, the man page of gcc says the following:
-a Generate extra code to write profile information for
basic blocks, which will record the number of times
each basic block is executed. This data could be
analyzed by a program like tcov. Note, however, that
the format of the data is not what tcov expects. Even-
tually GNU gprof should be extended to process this
data.
I was wondering if gprof had been extended as the above mentions (this
is an old man page). If not, how can I manipulate the bb.out file to
make it into something that tcov understands? (There is no ".d" file
created when I compile either.)
Thanks!
S>
P.S Any info on block profiling code for the HP platform would also be much
appreciated!
--
================================================================================
Stephen A. Hockema | RN6-16, Pole A9, (408) 765-8676 |
shockema@mipos2.intel.com
The views/opinions expressed in this message in NO way represent the views
held by Intel. Furthermore, I have no policy/decision making influence
whatsoever, and I have no idea what Intel is planning!
Technical Details
Message-ID:
<451l65$q7d@inews.sc.intel.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1cdebccf6fb63d9b,start X-Google-Attributes: gid11318c,public From: Stephen Hockema <shockema> Subject: Using "tcov" with gcc -a. Date: 1995/10/05 Message-ID: <451l65$q7d@inews.sc.intel.com> X-Deja-AN: 117107548 content-type: text/plain; charset=us-ascii organization: Intel Corporation, Santa Clara, CA x-url: news:gnu.gcc.help?ALL mime-version: 1.0 newsgroups: gnu.gcc.help x-mailer: Mozilla 1.1N (X11; I; HP-UX A.09.05 9000/770)