gprof and xscale-elf-gcc

Arvind Krishnaswamy arvind@CS.Arizona.EDU
Sun Jan 27 23:21:00 GMT 2002


How do I run the cross compiled executable in the first place? While profiling
for embedded processors does one actually run the program on that platform?
I was under the impression that development for such targets was done
offline, on a different more powerful platform under a cross-compilation environment
and the executable alone was shipped to the embedded platform.
Doesn't one need performance simulators in that case to generate the
profiling information?

-Arvind

On Sun, 27 Jan 2002, Jason R Thorpe wrote:

> Well, this depends on what sort of profiling support your OS provides.  But
> the C library should dump out the profiling buffers when the program exits,
> or if you have some other trigger mechanism to transfer the profiling buffers
> somehow.
>
>  > How does one generally profile when developing for targets such
>  > as the xscale(or any other embedded processor)?
>  >
>  > -Arvind
>  >
>
>



More information about the Gcc mailing list