[ECOS] ARM profiling

Jonathan Larmour jifl@eCosCentric.com
Tue Jan 14 23:41:00 GMT 2003


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



More information about the Ecos-discuss mailing list