This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gprof and xscale-elf-gcc


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]