Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Profiling tools for uClinux

Hi,

I realized that gprof does not work with uClinux, unfortunately.

Nevertheless, oprofile is an another solution and I tryed to install it.

But, I have problems with system's generation:

checking for dlopen in -ldl... yes
checking for main in -lintl... no
checking for bfd_openr in -lbfd... no
configure: error: bfd library not found
make: ***  Error 1
make: Leaving directory `/home/carlos/uclinux/uClinux-dist/user/oprofile'
make: ***  Error 2
make: Leaving directory `/home/carlos/uclinux/uClinux-dist/user'
make: ***  Error 2
make: Leaving directory `/home/carlos/uclinux/uClinux-dist/user'
make: ***  Error 1

I follow tutorial http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:oprofile

The bfd library issue is a problem very known with oprofile and I don't found any solution.

Please can you help me?

Regards!
No RepliesBe the first to reply