valgrind:
升级: rpm -Uvhvalgrind-devel-3.6.1-2.1.x86_64.rpm --force --nodeps ; rpm -Uvhvalgrind-3.6.1-2.1.x86_64.rpm --force --nodepsmemcheck:
启动: /usr/bin/valgrind -v --tool=memcheck --error-limit=no --leak-check=full --leak-resolution=high --show-reachable=yes --run-libc-freeres=yes --track-fds=yes --log-file=/home/valgrind.log
callgrind:
启动: /usr/bin/valgrind --tool=callgrind
结束: callgrind_control –k
输出: callgrind_annotatecallgrind.out.pid > callgrind.out.pid.txt