diff options
author | Karel Kočí <cynerd@email.cz> | 2022-09-19 14:04:41 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-09-19 14:04:41 +0200 |
commit | df236ff2debfa30b681c02f023f75560d44143af (patch) | |
tree | a3e7c4ad72b1aaa33ac16906f484b87fceb03bd3 | |
parent | 9592b31fa2ce1201d57bb3cb3a807846ca288354 (diff) | |
download | shellrc-df236ff2debfa30b681c02f023f75560d44143af.tar.gz shellrc-df236ff2debfa30b681c02f023f75560d44143af.tar.bz2 shellrc-df236ff2debfa30b681c02f023f75560d44143af.zip |
dev: add valgrind tools quick access
-rw-r--r-- | shellrc.d/dev | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shellrc.d/dev b/shellrc.d/dev new file mode 100644 index 0000000..d14211b --- /dev/null +++ b/shellrc.d/dev @@ -0,0 +1,9 @@ +# vim: ft=sh: + +memcheck() { + valgrind --track-fds=yes --leak-check=full --track-origins=yes "$@" +} + +massif() { + valgrind --tool=massif "$@" +} |