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: Thu, 26 Aug 2004 18:55:56 -0700

Hi Nick,

> >>Failing that if you can
> >>create a small, reproducible test case we can try to look into it ourselves.
>
> > Do you want the binary (elf file) and the gmon.out file?
>
> Actually we would prefer a small source file and a simple makefile to
> build and run it.  That way we can debug the executable as it is running
> if necessary.
>

We did not use gprof in the conventional manner. We captured an assembly code
trace of the program  running in standalone mode on a ppc405 processor using a
Agilent's/IBM trace port analyzer. I wrote a Perl script that converts the trace
file into a gmon.out format. Someone else here at Xilinx wrote a similar
application that converted a trace file (from a different format) to a gmon.out
format. We both found out that gprof tacks on functions that were never

> Cheers
>    Nick





reply via email to

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