aboutsummaryrefslogtreecommitdiffstats
path: root/tools/valgrind-wireshark.sh
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-03-09 20:02:19 +0000
committerEvan Huus <eapache@gmail.com>2013-03-09 20:02:19 +0000
commit122b7cb6dfabd71a987216cf2fee907e8281dbd0 (patch)
tree9eca4481493ae05602a5d065e19f1c9daf8a427b /tools/valgrind-wireshark.sh
parentdeefa092378d5042c9f12edf1cd70563fa7d22b3 (diff)
Remove the emem slab feature (sl_* functions) completely, replacing it with
glib memory slices. - We weren't doing anything with the emem slab that couldn't be done with glib slices. - Removes a fair bit of code as well as one debugging environment variable. - Glib slices are much cache-friendlier and are multi-threading friendly (if we ever go there). - Allows glib to actually return slices to the OS on occasion. The emem slab would hold onto its memory forever which resulted in a great deal of wasted memory after closing a large file. svn path=/trunk/; revision=48218
Diffstat (limited to 'tools/valgrind-wireshark.sh')
-rwxr-xr-xtools/valgrind-wireshark.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/valgrind-wireshark.sh b/tools/valgrind-wireshark.sh
index cb503cde5b..783fd98d89 100755
--- a/tools/valgrind-wireshark.sh
+++ b/tools/valgrind-wireshark.sh
@@ -81,7 +81,6 @@ export WIRESHARK_DEBUG_EP_NO_CHUNKS=
export WIRESHARK_DEBUG_SE_NO_CHUNKS=
export WIRESHARK_DEBUG_WMEM_OVERRIDE=simple
export WIRESHARK_DEBUG_WMEM_SLAB=
-export WIRESHARK_DEBUG_USE_SLICES=
export G_SLICE=always-malloc # or debug-blocks
libtool --mode=execute valgrind $VERBOSE $LEAK_CHECK $REACHABLE $TRACK_ORIGINS $BIN_DIR/$COMMAND $COMMAND_ARGS $PCAP $COMMAND_ARGS2 > /dev/null