[uClinux-dev] How to do profiling on MCF5249 board

Manuel Novoa III mjn3 at codepoet.org
Tue Aug 23 22:18:10 EDT 2005


On Wed, Aug 24, 2005 at 12:01:43PM +1000, Greg Ungerer wrote:
> Hi Vincent,
> 
> Fang Vincent-r65806 wrote:
> >Seems the m68k tool chain doesn't include gprof, and libc doesn't support 
> >-pg.
> >(I can't find gcrt0.o and libc_p.a)
> >Is there any way to do profiling with uClinux kernel or application? 
> 
> You can certainly do kernel profiling. Enable the kernel option,
> CONFIG_PROFILE, and then use the readprofile tool to get at its
> profile information on a running system.
> 
> I am not aware of anyone doing the neccessary work for application
> level profiling. (That is porting the profile lib components).

We had profiling support in uClibc for a few releases.  But it never
fully worked and Erik decided to remove it since it generated a lot
of questions.  It wouldn't surprise me if I was the only one who
ever used it.

Manuel



More information about the uClinux-dev mailing list