AnsweredAssumed Answered

how to use valgrind on mpc8313e

Question asked by ye yue on May 11, 2016

hello there:

 

My mpc8313 BSP version is MPC8313E_RDB_K26_20081226-LTIB,

I compile valgrind by select valgrind package while doing  ./ltib -c,

and I put the following files to the mpc8313 board under path /dev/shm;

files: cachegrind , callgrind, helgrind ,lackey ,libcoregrind.a , massif ,

       memcheck ,none ,valgrind, valgrind-listener, vgpreload_core.so ,

       vgpreload_helgrind.so ,vgpreload_massif.so, vgpreload_memcheck.so .

then do as follows:

#ls

cachegrind         libcoregrind.a     valgrind-listener
callgrind          massif             vgpreload_core.so
helgrind           memcheck           vgpreload_helgrind.so
lackey             none               vgpreload_massif.so
leak               valgrind           vgpreload_memcheck.so

#export VALGRIND_LIB=/dev/shm

#./valgrind --tool=memcheck ./leak

it give out like this:

valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux': No such file or directory

while doing:

#./valgrind --tool=./memcheck ./leak

it give out like this:

valgrind: failed to start tool './memcheck' for platform 'ppc32-linux': No such file or directory

 

will you give some advices how to use valgrind on mpc8313?

the attach is files I put on the mpc8313 board

Thanks.

Original Attachment has been moved to: valgrind_files.tar.gz

Outcomes