This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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: ARM profiling


milindk@marvell.com wrote:
Hi,
      I am trying to profile the code running on an ARM processor over
eCos. I found out that a gprof package exists for Power PC. Has anyone done
anything similar for ARM?
Not yet, but you can see what's required from the bottom of hal/powerpc/mpc8xx/current/src/var_misc.c i.e. just some routine to periodically call __profile_hit with the PC at time of interrupt, along with hal_enable_profile_timer(resolution) to install that routine.

Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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