From: Bart Van Assche Date: Sat, 26 Apr 2008 18:55:38 +0000 (+0000) Subject: Filtered out malloc/free statistics. X-Git-Tag: svn/VALGRIND_3_4_0~695 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6967a2148e5e295e0fa56bb99ec9871bda9d7af3;p=thirdparty%2Fvalgrind.git Filtered out malloc/free statistics. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7928 --- diff --git a/memcheck/tests/badjump.stderr.exp b/memcheck/tests/badjump.stderr.exp index d6d3f7c2ea..8ffd9d06d6 100644 --- a/memcheck/tests/badjump.stderr.exp +++ b/memcheck/tests/badjump.stderr.exp @@ -14,7 +14,7 @@ Process terminating with default action of signal 11 (SIGSEGV) The main thread stack size used in this run was .... ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/badjump.vgtest b/memcheck/tests/badjump.vgtest index 5e96c62ace..e45c866fd4 100644 --- a/memcheck/tests/badjump.vgtest +++ b/memcheck/tests/badjump.vgtest @@ -1,2 +1,3 @@ prog: badjump cleanup: rm -f vgcore.pid* +stderr_filter: filter_allocs diff --git a/memcheck/tests/describe-block.stderr.exp b/memcheck/tests/describe-block.stderr.exp index 9f277f2624..a66b106444 100644 --- a/memcheck/tests/describe-block.stderr.exp +++ b/memcheck/tests/describe-block.stderr.exp @@ -13,7 +13,7 @@ Process terminating with default action of signal 11 (SIGSEGV) The main thread stack size used in this run was .... ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/describe-block.vgtest b/memcheck/tests/describe-block.vgtest index 7b48e693c7..367ff1b615 100644 --- a/memcheck/tests/describe-block.vgtest +++ b/memcheck/tests/describe-block.vgtest @@ -1 +1,2 @@ prog: describe-block +stderr_filter: filter_allocs diff --git a/memcheck/tests/erringfds.stderr.exp b/memcheck/tests/erringfds.stderr.exp index 0516e09081..48f642c93b 100644 --- a/memcheck/tests/erringfds.stderr.exp +++ b/memcheck/tests/erringfds.stderr.exp @@ -2,7 +2,7 @@ Warning: invalid file descriptor -1 in syscall read() ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/erringfds.vgtest b/memcheck/tests/erringfds.vgtest index 5a8ede4c38..e6ea0c17f6 100644 --- a/memcheck/tests/erringfds.vgtest +++ b/memcheck/tests/erringfds.vgtest @@ -1 +1,2 @@ prog: erringfds +stderr_filter: filter_allocs diff --git a/memcheck/tests/linux-syscalls-2007.stderr.exp b/memcheck/tests/linux-syscalls-2007.stderr.exp index c4aa6f04fe..7a5680c58f 100644 --- a/memcheck/tests/linux-syscalls-2007.stderr.exp +++ b/memcheck/tests/linux-syscalls-2007.stderr.exp @@ -1,7 +1,7 @@ ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/linux-syscalls-2007.vgtest b/memcheck/tests/linux-syscalls-2007.vgtest index 55e548aec3..1a9af546d7 100644 --- a/memcheck/tests/linux-syscalls-2007.vgtest +++ b/memcheck/tests/linux-syscalls-2007.vgtest @@ -1 +1,2 @@ prog: linux-syscalls-2007 +stderr_filter: filter_allocs diff --git a/memcheck/tests/linux-syslog-syscall.stderr.exp b/memcheck/tests/linux-syslog-syscall.stderr.exp index a268583356..5cb0946afb 100644 --- a/memcheck/tests/linux-syslog-syscall.stderr.exp +++ b/memcheck/tests/linux-syslog-syscall.stderr.exp @@ -2,7 +2,7 @@ Done. ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/linux-syslog-syscall.vgtest b/memcheck/tests/linux-syslog-syscall.vgtest index 58e0afb1d6..7ffb1279b9 100644 --- a/memcheck/tests/linux-syslog-syscall.vgtest +++ b/memcheck/tests/linux-syslog-syscall.vgtest @@ -1 +1,2 @@ prog: linux-syslog-syscall +stderr_filter: filter_allocs diff --git a/memcheck/tests/lsframe1.stderr.exp b/memcheck/tests/lsframe1.stderr.exp index e85ce38002..b6e4f219f0 100644 --- a/memcheck/tests/lsframe1.stderr.exp +++ b/memcheck/tests/lsframe1.stderr.exp @@ -3,7 +3,7 @@ lsframe1: start lsframe1: done, result is -8388608 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/lsframe1.vgtest b/memcheck/tests/lsframe1.vgtest index fbdc190ceb..92f03093a2 100644 --- a/memcheck/tests/lsframe1.vgtest +++ b/memcheck/tests/lsframe1.vgtest @@ -1,2 +1,3 @@ prog: lsframe1 vgopts: --main-stacksize=67200000 --max-stackframe=67200000 +stderr_filter: filter_allocs diff --git a/memcheck/tests/lsframe2.stderr.exp b/memcheck/tests/lsframe2.stderr.exp index 2eb8c047b2..8dd1bf9a79 100644 --- a/memcheck/tests/lsframe2.stderr.exp +++ b/memcheck/tests/lsframe2.stderr.exp @@ -3,7 +3,7 @@ lsframe2: start lsframe2: done, result is -272629760 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/lsframe2.vgtest b/memcheck/tests/lsframe2.vgtest index 690a4079e2..3c7c021e83 100644 --- a/memcheck/tests/lsframe2.vgtest +++ b/memcheck/tests/lsframe2.vgtest @@ -1,2 +1,3 @@ prog: lsframe2 vgopts: --main-stacksize=68500000 +stderr_filter: filter_allocs diff --git a/memcheck/tests/match-overrun.stderr.exp b/memcheck/tests/match-overrun.stderr.exp index d20b599054..4ff0e7c787 100644 --- a/memcheck/tests/match-overrun.stderr.exp +++ b/memcheck/tests/match-overrun.stderr.exp @@ -10,7 +10,7 @@ Process terminating with default action of signal 11 (SIGSEGV) The main thread stack size used in this run was .... ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/match-overrun.vgtest b/memcheck/tests/match-overrun.vgtest index a5baa9d44b..85ca973973 100644 --- a/memcheck/tests/match-overrun.vgtest +++ b/memcheck/tests/match-overrun.vgtest @@ -1,2 +1,3 @@ prog: match-overrun vgopts: --suppressions=match-overrun.supp +stderr_filter: filter_allocs diff --git a/memcheck/tests/noisy_child.stderr.exp b/memcheck/tests/noisy_child.stderr.exp index b2a3b7ac93..b994d7e07c 100644 --- a/memcheck/tests/noisy_child.stderr.exp +++ b/memcheck/tests/noisy_child.stderr.exp @@ -13,7 +13,7 @@ Invalid write of size 1 by 0x........: main (noisy_child.c:24) ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 1 allocs, 1 frees, 10 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/noisy_child.vgtest b/memcheck/tests/noisy_child.vgtest index 83a3b217c4..88d48a96e3 100644 --- a/memcheck/tests/noisy_child.vgtest +++ b/memcheck/tests/noisy_child.vgtest @@ -1,2 +1,3 @@ prog: noisy_child vgopts: --child-silent-after-fork=yes +stderr_filter: filter_allocs diff --git a/memcheck/tests/partial_load_dflt.stderr.exp b/memcheck/tests/partial_load_dflt.stderr.exp index aa14bac4a6..14707c68b2 100644 --- a/memcheck/tests/partial_load_dflt.stderr.exp +++ b/memcheck/tests/partial_load_dflt.stderr.exp @@ -24,7 +24,7 @@ Invalid read of size 4 by 0x........: main (partial_load.c:36) ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 4 allocs, 4 frees, 12 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/partial_load_dflt.vgtest b/memcheck/tests/partial_load_dflt.vgtest index 5a18789ff3..ca32f463ef 100644 --- a/memcheck/tests/partial_load_dflt.vgtest +++ b/memcheck/tests/partial_load_dflt.vgtest @@ -1 +1,2 @@ prog: partial_load +stderr_filter: filter_allocs diff --git a/memcheck/tests/partial_load_ok.stderr.exp b/memcheck/tests/partial_load_ok.stderr.exp index 0a2e2f5dc6..8928f787cd 100644 --- a/memcheck/tests/partial_load_ok.stderr.exp +++ b/memcheck/tests/partial_load_ok.stderr.exp @@ -18,7 +18,7 @@ Invalid read of size 4 by 0x........: main (partial_load.c:36) ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 4 allocs, 4 frees, 12 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/partial_load_ok.vgtest b/memcheck/tests/partial_load_ok.vgtest index 1602c0e202..cabae7290e 100644 --- a/memcheck/tests/partial_load_ok.vgtest +++ b/memcheck/tests/partial_load_ok.vgtest @@ -1,2 +1,3 @@ prog: partial_load vgopts: --partial-loads-ok=yes +stderr_filter: filter_allocs diff --git a/memcheck/tests/partiallydefinedeq.stderr.exp b/memcheck/tests/partiallydefinedeq.stderr.exp index 9e69f75305..073357a287 100644 --- a/memcheck/tests/partiallydefinedeq.stderr.exp +++ b/memcheck/tests/partiallydefinedeq.stderr.exp @@ -8,7 +8,7 @@ Conditional jump or move depends on uninitialised value(s) by 0x........: main (partiallydefinedeq.c:52) ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 8 bytes in 2 blocks. -malloc/free: 2 allocs, 0 frees, 8 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/partiallydefinedeq.vgtest b/memcheck/tests/partiallydefinedeq.vgtest index da965fd170..054c256264 100644 --- a/memcheck/tests/partiallydefinedeq.vgtest +++ b/memcheck/tests/partiallydefinedeq.vgtest @@ -1 +1,2 @@ prog: partiallydefinedeq +stderr_filter: filter_allocs diff --git a/memcheck/tests/sigkill.stderr.exp b/memcheck/tests/sigkill.stderr.exp index 7dbb0d48fc..2f1c7546d9 100644 --- a/memcheck/tests/sigkill.stderr.exp +++ b/memcheck/tests/sigkill.stderr.exp @@ -196,7 +196,7 @@ Invalid argument ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -malloc/free: in use at exit: 0 bytes in 0 blocks. -malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +malloc/free: in use at exit: ... bytes in ... blocks. +malloc/free: ... allocs, ... frees, ... bytes allocated. For a detailed leak analysis, rerun with: --leak-check=yes For counts of detected errors, rerun with: -v diff --git a/memcheck/tests/sigkill.vgtest b/memcheck/tests/sigkill.vgtest index a68143011b..e565f5dde1 100644 --- a/memcheck/tests/sigkill.vgtest +++ b/memcheck/tests/sigkill.vgtest @@ -1 +1,2 @@ prog: sigkill +stderr_filter: filter_allocs