summaryrefslogtreecommitdiffstats
path: root/tools/valgrind
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 13:50:53 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 13:50:53 +0000
commit3a731b301c08ac0efa6ffaea04ae9fe4f422fafe (patch)
tree6fb4c3cc32c308b4c53ea3f42a2695972ca17f76 /tools/valgrind
parent25b5e12f22d79f36f977f1403e1b3b6cee86624a (diff)
downloadchromium_src-3a731b301c08ac0efa6ffaea04ae9fe4f422fafe.zip
chromium_src-3a731b301c08ac0efa6ffaea04ae9fe4f422fafe.tar.gz
chromium_src-3a731b301c08ac0efa6ffaea04ae9fe4f422fafe.tar.bz2
Update TSan ignores and suppressions to have cleaner run on our ubuntu workstations
TBR=glider TEST=Run TSan locally and see less reports Review URL: http://codereview.chromium.org/6526015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74942 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind')
-rw-r--r--tools/valgrind/tsan/ignores.txt9
-rw-r--r--tools/valgrind/tsan/suppressions.txt7
2 files changed, 15 insertions, 1 deletions
diff --git a/tools/valgrind/tsan/ignores.txt b/tools/valgrind/tsan/ignores.txt
index 8b58495..e52db58 100644
--- a/tools/valgrind/tsan/ignores.txt
+++ b/tools/valgrind/tsan/ignores.txt
@@ -15,7 +15,7 @@ obj:*/libnss*
obj:*/nss/*
# ignore pulseaudio - We don't have symbols there and it can be slow otherwise
-obj:*/libpulse.so*
+obj:*/libpulse*.so*
# ignore this standard stuff
fun:clone
@@ -26,6 +26,7 @@ fun_r:_pthread_free_pthread_onstack
fun_r:random_r
fun_r:random
fun_r:rand
+fun_r:srand
fun:__lll_mutex_unlock_wake
fun:__cxa_atexit
fun:__new_exitfn
@@ -87,6 +88,9 @@ fun_hist:*unibrow*
# Histogram has tiny functions that can be called frequently
fun_hist:*Histogram*
+# Debug-only, so we don't care (mostly) http://crbug/61179
+fun_r:*tracked_objects*
+
# TODO(timurrrr): SKIA - needs separate testing?
# SKIA unittest is single-threaded...
# SKIA uses un-annotated atomic refcount and other sync stuff
@@ -126,6 +130,9 @@ fun_r:*remoting*CompressorZlib*Process*
# http://crbug.com/65278
fun:XSetErrorHandler
+fun:*IPC*Logging*Enable*
+fun:*IPC*Logging*Disable*
+
# TSan doesn't support lockf and hence shared memory locks in this function;
# http://crbug.com/45083
fun_r:*base*StatsTable*AddCounter*
diff --git a/tools/valgrind/tsan/suppressions.txt b/tools/valgrind/tsan/suppressions.txt
index 5db4deb..b523744 100644
--- a/tools/valgrind/tsan/suppressions.txt
+++ b/tools/valgrind/tsan/suppressions.txt
@@ -269,6 +269,13 @@
obj:*libdbus*
}
+{
+ Nvidia GL driver destroys an invalid lock
+ ThreadSanitizer:InvalidLock
+ fun:pthread_mutex_destroy
+ obj:*nvidia*/libGL.so.*
+}
+
############################
# Data races in tests