diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-10-18 14:30:06 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-10-18 14:30:06 +0100 |
commit | 6a6bf2d17a1e569f14e68ea370dea506a57e653f (patch) | |
tree | b44e786820c03ba025854b49447c97418158c794 /bashrc | |
parent | Add df wrapper (diff) | |
download | util-6a6bf2d17a1e569f14e68ea370dea506a57e653f.tar.bz2 util-6a6bf2d17a1e569f14e68ea370dea506a57e653f.tar.xz util-6a6bf2d17a1e569f14e68ea370dea506a57e653f.zip |
Add valgrind wrapper
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -54,6 +54,14 @@ alias df="/bin/df -hT" title() { echo -ne "\033]0;$@\007" } +vg() { + valgrind \ + --show-leak-kinds=all \ + --suppressions=$HOME/dev/valgrind.suppressions \ + --leak-check=full \ + --log-file=/var/tmp/vg.log \ + $@ +} build() { title "Build in progress" CCACHE_BASEDIR=$(git root) nice -n5 b2 -j$CORES $@ |