summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 22:05:03 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 22:05:03 +0000
commit004f2cf5d5eb19764260b1f513738be15ae77d47 (patch)
tree01941fbe5ebfed77eae6e87fcccc74808ffd411f /tools
parent6464b4c1fa4b1553547dbf9096ddc8209bc555c8 (diff)
downloadchromium_src-004f2cf5d5eb19764260b1f513738be15ae77d47.zip
chromium_src-004f2cf5d5eb19764260b1f513738be15ae77d47.tar.gz
chromium_src-004f2cf5d5eb19764260b1f513738be15ae77d47.tar.bz2
Dr. Memory - suppress some printing/ memory leaks, increase the number of callstack frames to remember
BUG=68307 TBR=glider Review URL: http://codereview.chromium.org/6069008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70320 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/valgrind/drmemory/suppressions.txt7
-rwxr-xr-xtools/valgrind/valgrind_test.py1
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/valgrind/drmemory/suppressions.txt b/tools/valgrind/drmemory/suppressions.txt
index e4da305..587f817 100644
--- a/tools/valgrind/drmemory/suppressions.txt
+++ b/tools/valgrind/drmemory/suppressions.txt
@@ -407,5 +407,12 @@ UNINITIALIZED READ
...
*!vp8_*
+# http://crbug.com/68307
+LEAK
+...
+*!PrintDlgExMock
+...
+*!PrintingContextTest_PrintAll_Test::TestBody
+
# Empty line at EOF - workaround for
# http://code.google.com/p/drmemory/issues/detail?id=41
diff --git a/tools/valgrind/valgrind_test.py b/tools/valgrind/valgrind_test.py
index 4798e3c..b2025f8 100755
--- a/tools/valgrind/valgrind_test.py
+++ b/tools/valgrind/valgrind_test.py
@@ -754,6 +754,7 @@ class DrMemory(BaseTool):
proc += ["-logdir", self.temp_dir]
proc += ["-batch", "-quiet"]
+ proc += ["-callstack_max_frames", "30"]
#proc += ["-no_check_leaks", "-no_count_leaks"]
# Dr.Memory requires -- to separate tool flags from the executable name.