Newsgroups: comp.os.msdos.djgpp,gnu.misc.discuss From: "Hoogenraad, dr. J.H." Subject: line-level profiling Sender: news AT natlab DOT research DOT philips DOT com (USEnet Subsystem) Message-ID: <33F0351E.24EF@natlab.research.philips.com> Date: Tue, 12 Aug 1997 10:04:14 GMT Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Organization: Philips Research Lines: 29 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I';ve just downloaded the latest version of GPROF for DJGPP (MSDOS), and tried the -l option, which I think is exactly what I would need. I wondered about the SLOWNESS of the option, until I looked into the code: It tries to find ALL source lines by checking program adresses one by one. I do not have all the utilities (bash,awk and all that) installed, so I cannot tailor gprof to my needs. What I'd really like to get is an option with the following behavior: Given the ganularity of the gmon.out file, write out all non-zero entries, their addresses and the line numbers. (in address order, and optionally in # of hits order) I can then use a debugger to find out the behavior as detailed as I'd ever like. The default file ordering is just great for this as well. This option would work VERY FAST, as only the line numbers of the NEEDED address need to be found from the COFF file, and I think it is EASY TO IMPLEMENT. Hwoever, I cannot compile the sources.... Does anybody have a .ZIP file of the CONFIGURED binutils, that only need a make ? Or is there another way I can contribute to this GNU project ? Yours, -- Jan Hoogenraad Philips Research Laboratories Building: WB 2-007 Prof. Holstlaan 4 (WB21) Phone: +31 40 2742074 5656 AA Eindhoven Fax: +31 40 2745002 The Netherlands E-mail: hoogenrd AT natlab DOT research DOT philips DOT com