Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Profiling applications

Altera_Forum
Honored Contributor II
999 Views

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.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
286 Views

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'
0 Kudos
Altera_Forum
Honored Contributor II
286 Views

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.
0 Kudos
Reply