This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gprof and xscale-elf-gcc
- From: Arvind Krishnaswamy <arvind at CS dot Arizona dot EDU>
- To: Jason R Thorpe <thorpej at wasabisystems dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Sun, 27 Jan 2002 19:07:20 -0700 (MST)
- Subject: Re: gprof and xscale-elf-gcc
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
> >
>
>