From: Taha Mannan Jiruwala <taha@sasken.com>
To: gcc@gcc.gnu.org
Subject: profiling shared libraries
Date: Tue, 11 Jun 2002 08:39:00 -0000 [thread overview]
Message-ID: <3D06107D.C35AA097@sasken.com> (raw)
In-Reply-To: <200206111358.g5BDwRj03165@cuddles.cambridge.redhat.com>
Hi,
I have tried profiling shared libraries using the following:
program=test.c
main()
{
printf("hello world\n");
}
$ gcc test.c -lc
$ ldd a.out
libc.so.6 => /lib/libc.so.6 (0x4001a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)b
$ export LD_PROFILE=/lib/libc.so.6
$ ./a.out
hello world
$ unset LD_PROFILE
$ gprof /lib/libc.so.6 libc.so.6.profile
The versions are
gcc -> egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
gprof ->GNU gprof 2.9.5
Here I am getting the message:
"gprof: file `libc.so.6.profile' has unsupported version 131071 "
Please help me in this regard..
Thanks in advance,
taha
prev parent reply other threads:[~2002-06-11 14:56 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-11 7:00 RFC: Java inliner Andrew Haley
2002-06-11 7:25 ` Daniel Berlin
2002-06-11 7:26 ` Andrew Haley
2002-06-11 7:56 ` Fergus Henderson
2002-06-11 9:18 ` Andrew Haley
2002-06-11 9:49 ` Joe Buck
2002-06-11 10:59 ` Andrew Haley
2002-06-11 11:29 ` Diego Novillo
2002-06-11 22:36 ` Mark Mitchell
2002-06-12 2:24 ` Per Bothner
2002-06-12 4:47 ` Andrew Haley
2002-06-12 6:38 ` Mark Mitchell
2002-06-12 8:45 ` Andrew Haley
2002-06-12 9:13 ` Daniel Berlin
2002-06-12 9:28 ` Daniel Berlin
2002-07-01 11:21 ` Andrew Haley
2002-07-01 11:29 ` Andrew Haley
2002-07-01 11:56 ` RFC: " Daniel Berlin
2002-07-01 11:58 ` Andrew Haley
2002-07-10 5:16 ` Alexandre Oliva
2002-07-10 7:08 ` Andrew Haley
2002-07-10 7:10 ` Alexandre Oliva
2002-07-10 7:32 ` Andrew Haley
2002-07-10 13:41 ` Alexandre Oliva
2002-07-30 9:43 ` Andrew Haley
2002-08-12 10:37 ` Tom Tromey
2002-08-12 10:42 ` Andrew Haley
2002-07-10 9:00 ` Tom Tromey
2002-06-11 8:39 ` Taha Mannan Jiruwala [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D06107D.C35AA097@sasken.com \
--to=taha@sasken.com \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).