gprof and xscale-elf-gcc
Jason R Thorpe
thorpej@wasabisystems.com
Sun Jan 27 22:21:00 GMT 2002
On Sun, Jan 27, 2002 at 06:03:49PM -0700, Arvind Krishnaswamy wrote:
> I'm using the xscale-elf-gcc corss compiler. How do I use xscale-elf-gprof
> for profiling data? The linker cannot find -lc_p. How do I fix this?
Well, you need to build a profiled libc (libc_p.a).
> Provided this can be fixed, how do I run the program under this cross-compiler
> environment to generate gmon.out?
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
>
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
More information about the Gcc
mailing list