]> granicus.if.org Git - transmission/commitdiff
add wrapper for invoking transmission-daemon in valgrind
authorCharles Kerr <charles@transmissionbt.com>
Wed, 16 Jul 2008 20:36:21 +0000 (20:36 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Wed, 16 Jul 2008 20:36:21 +0000 (20:36 +0000)
daemon/my-valgrind.sh [new file with mode: 0755]

diff --git a/daemon/my-valgrind.sh b/daemon/my-valgrind.sh
new file mode 100755 (executable)
index 0000000..c248fbd
--- /dev/null
@@ -0,0 +1,5 @@
+#/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