1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 15:54:57 +00:00
transmission/daemon/my-valgrind.sh
2019-01-16 03:22:29 +08:00

6 lines
335 B
Bash
Executable file

#!/bin/sh
export G_SLICE=always-malloc
export G_DEBUG=gc-friendly
export GLIBCXX_FORCE_NEW=1
#valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=64 --log-file=x-valgrind --show-reachable=yes ./transmission-daemon -f
valgrind --tool=cachegrind ./transmission-daemon -f -g /home/charles/.config/transmission