aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-09-19 14:04:41 +0200
committerKarel Kočí <cynerd@email.cz>2022-09-19 14:04:41 +0200
commitdf236ff2debfa30b681c02f023f75560d44143af (patch)
treea3e7c4ad72b1aaa33ac16906f484b87fceb03bd3
parent9592b31fa2ce1201d57bb3cb3a807846ca288354 (diff)
downloadshellrc-df236ff2debfa30b681c02f023f75560d44143af.tar.gz
shellrc-df236ff2debfa30b681c02f023f75560d44143af.tar.bz2
shellrc-df236ff2debfa30b681c02f023f75560d44143af.zip
dev: add valgrind tools quick access
-rw-r--r--shellrc.d/dev9
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 "$@"
+}