This is the mail archive of the gcc-help@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: problem with gprof profiling when using cross compiler


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


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