valgrind记录

./configure --prefix="/sgw/sgwst4/lib" CPPFLAGS="-I./libunwind-1.0/include -L/sgw/sgwst4/lib"


 ./configure CFLAGS=-fPIC --prefix="/sgw/sgwst4/"


env LD_PRELOAD="/app/sgwst4/src/opensource/gperftools-2.1/.libs/libtcmalloc.so"




valgrind  --leak-check=full xdrmsgswitch 


valgrind  --leak-check=full --trace-children=yes xdrmsgswitch




valgrind --leak-check=full --trace-children=yes --xml=yes --log-file=x.log xdrmsgswitch -f ../etc/svc.conf  
valgrind  --leak-check=full --trace-children=yes xdrmsgswitch -f ../etc/svc.conf

你可能感兴趣的:(C/C++)