summaryrefslogtreecommitdiffstats
path: root/src/valgrind.sh
blob: a535c748e44dd59466e329b88630cb1b44c01214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

export G_DEBUG=gc-friendly
export G_SLICE=always-malloc

#valgrind --tool=massif --depth=5  --alloc-fn=g_malloc \
#  --alloc-fn=g_realloc --alloc-fn=g_try_malloc \
#  --alloc-fn=g_malloc0 --alloc-fn=g_mem_chunk_alloc \
#  console-kit-daemon --no-daemon --timed-exit

valgrind --tool=memcheck --leak-check=full --show-reachable=yes \
  console-kit-daemon --no-daemon --timed-exit