Subject: | Wish for additional valgrind client functions |
One useful extra call now available in valgrind is
Subject: | devel-valgrind-02-extra-calls.patch |
--- Client.xs.orig 2012-04-25 12:26:25.000000000 +0100
+++ Client.xs 2012-04-25 12:44:44.000000000 +0100
@@ -25,6 +25,11 @@
CODE:
VALGRIND_DO_QUICK_LEAK_CHECK;
+void
+do_changed_leak_check()
+ CODE:
+ VALGRIND_DO_CHANGED_LEAK_CHECK;
+
SV*
count_leaks()
INIT:
--- ./lib/Devel/Valgrind/Client.pm.orig 2010-12-05 14:11:41.000000000 +0000
+++ ./lib/Devel/Valgrind/Client.pm 2012-04-25 13:02:27.000000000 +0100
@@ -10,7 +10,7 @@
require Exporter;
our @ISA = qw(Exporter);
-our @EXPORT_OK = qw(is_in_memcheck count_leaks do_leak_check do_quick_leak_check leak_check);
+our @EXPORT_OK = qw(is_in_memcheck count_leaks do_leak_check do_quick_leak_check do_changed_leak_check leak_check);
sub leak_check(&) {
my $code = shift;
@@ -122,7 +122,9 @@
=item * do_leak_check
-=item * do_leak_check_quick
+=item * do_quick_leak_check
+
+=item * do_changed_leak_check
=back