From df236ff2debfa30b681c02f023f75560d44143af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 19 Sep 2022 14:04:41 +0200 Subject: dev: add valgrind tools quick access --- shellrc.d/dev | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 shellrc.d/dev 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 "$@" +} -- cgit v1.2.3