blob: f06fa8629f8f6baca9ec44d411b1d84a31e9860f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
ENV="$1"
shift 1
CMD="$ENV valgrind --num-callers=30
--trace-children=yes --log-file=valgrind.%p.log
${VALGRIND_OPT- --time-stamp=yes --track-fds=yes --read-var-info=yes --track-origins=yes --leak-check=yes}
$@"
echo $CMD
eval $CMD
|