Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProfiling applications
Looks like this has been asked a couple times in the past, but no responses, and of course things have changed so...
Are there any tools available for profiling applications on Nios II Linux? Something like valgrind/callgrind would be great.2 Replies
- Altera_Forum
Honored Contributor
I did find oprofile in the distribution, but it doesn't compile:
nios2-linux-gnu-gcc -pipe -Wall -g -O2 -mhw-mul -mno-hw-mulx -mhw-mul -mno-hw-mulx -o .libs/test1 test1.o ./.libs/libpopt.so test1.o: In function `main': /data/nios/nios2-linux/uClinux-dist/lib/popt/build-popt-1.13/../popt-1.13/test1.c:198: undefined reference to `poptGetContext' - Altera_Forum
Honored Contributor
Does any one know how we can compile this libpopt?
I'm using CentOS5.4 and the version of libpopt seems like 1.10.2.3 I'm not sure if this is causing the compilation error.