problem with gprof profiling when using cross compiler

Martin Guy martinwguy@yahoo.it
Wed Jun 11 07:38:00 GMT 2008


On 6/10/08, m_ahlenius@comcast.net <m_ahlenius@comcast.net> wrote:
>  I am not sure if this is the right place to ask this question.

Probably not, but hey!

>  When I run gprof on either the Gumstix platform (with the exe file too) I get proper function counts, but all the timing values are 0.

The kernel on your target board has been compiled without
CONFIG_PROFILING configured in, so you need to make a new kernel for
the target board.

     M



More information about the Gcc-help mailing list