bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gprof 2.14 glitches w/ powerpc elf binaries


From: Njuguna Njoroge
Subject: Re: gprof 2.14 glitches w/ powerpc elf binaries
Date: Tue, 31 Aug 2004 10:55:09 -0700

Hi Nick,


>
> I am not sure. :-(  2.10 is quite an old version, so possibly there are
> some bugs in the gprof code that have been fixed in more recent versions
> and it is these bugs that are preventing your native version from
> displaying the information about _boot and _boot0.  [I am assuming that
> the native and x86 gprof are being run with essentially the same command
> line].

Clarification: It is good that _boot and _boot0 are not displayed because they 
were never
captured in the trace that was used to generate the gmon.out file. So there is 
something
about the ppc 2.10 gprof that reads the ELF file more accurately.

>
> Possibly there is a problem with your Perl script and it is adding
> spurious references to _boot and _boot0 which are then being displayed
> by the x86 hosted gprof ?  (This is just a guess, I am not accusing you
> or anything).

No offense taken :) I initially thought this too. However, I was displaying the 
addresses and
their bin counts while the histogram was being written, so I was tracking all 
the addresses
and _boot and _boot0's addresses had a bin count of 0. Additionally, another 
group at Xilinx
was doing something similar in making gmon.out files and they also saw that 
there are
spurious references to functions that were never called...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]