Add some additional valgrind scrips/options
parent
8c37219e32
commit
4b20d60c7e
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
# By: Melroy van den Berg
|
||||
# Description: Generate memory usage plots in massif format (https://valgrind.org/docs/manual/ms-manual.html),
|
||||
# be-aware that you will get a lot of false positives messages due to GTK/Glib
|
||||
|
||||
cd ./build/src
|
||||
G_DEBUG=gc-friendly G_SLICE=always-malloc valgrind \
|
||||
--suppressions=/usr/share/glib-2.0/valgrind/glib.supp \
|
||||
--suppressions=/usr/share/gtk-3.0/valgrind/gtk.supp \
|
||||
--tool=massif \
|
||||
./libreweb-browser
|
Loading…
Reference in New Issue