Mail Archives: djgpp/1997/08/15/20:50:58
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
- Raw text -