cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/10/13:26:03

From: hardwork AT freemail DOT c3 DOT hu
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Profiler
Date: Sat, 10 Jul 1999 08:45:18 GMT
Organization: The Dragon List
Lines: 36
Message-ID: <7m716t$29j$1@nnrp1.deja.com>
References: <7m33mj$ojc$1 AT reader1 DOT wxs DOT nl> <7m4v8r$55g AT acp3bf DOT knirsch DOT de>
NNTP-Posting-Host: 204.178.22.18
X-Article-Creation-Date: Sat Jul 10 08:45:18 1999 GMT
X-Http-User-Agent: Mozilla/4.07 [en] (X11; I; Linux 2.0.36 i686)
X-Http-Proxy: 1.0 www.proxymate.com:8000 (Apache/1.3.6), 1.0 x31.deja.com:80 (Squid/1.1.22) for client 204.178.22.18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <7m4v8r$55g AT acp3bf DOT knirsch DOT de>,  broeker AT acp3bf DOT knirsch DOT de
(Hans-Bernhard Broeker) wrote:

> Bas Hamstra (bas DOT hamstra AT wxs DOT nl) wrote:

> > Also: is there a possibility for source line profiling in DJGPP?

> In principle, there is 'gprof -l'. But with DJGPP, you have to pay
> attention to some details to get it working.

> 1) You have to use '-gstabs' or '-ggdb' debugging information (and a
> gcc built to support that).

> 2) You may have to fix the 2.02 profiling bug in your libc, or revert
> to 2.01.

> 3) -- a showstopper, for now -- you have to find and fix a few bugs and
> efficiency problems in gprof and the underlying BFD library.

> On my machine at home, I do have a fixed version of gprof that allows
> line-by-line profiling, but I (still) haven't found the time and will
> to package up the changes and get them back to the FSF, partly
> because not all of them are exactly my own...


If it works, and if the code contains no commercial-ware, I wonder if you
would be kindly enough to package them and upload it to share with all?

Many thanks in advance.

Bob
hardwork AT freemail DOT c3 DOT hu


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019