summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-04 13:34:05 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-04 13:34:05 +0000
commit9fd7c4ffcdeb7149f863824094994ca7ac32486a (patch)
tree5dc7e9a2cb0dce7847c0ecc83a04e264d624d721
parent31edb9b233d1adce88f140da548a077f8df60960 (diff)
downloadchromium_src-9fd7c4ffcdeb7149f863824094994ca7ac32486a.zip
chromium_src-9fd7c4ffcdeb7149f863824094994ca7ac32486a.tar.gz
chromium_src-9fd7c4ffcdeb7149f863824094994ca7ac32486a.tar.bz2
"Suppress" a data race in TraceLog::GetCategoryInternal using TSan ignore file
TBR=cbentzel BUG=98926 Chris, did you know the ignore files machinery? http://code.google.com/p/data-race-test/wiki/ThreadSanitizerIgnores I wonder if we should add this info to some sheriff page but I think this may be too low-level/demanding... WDYT? Review URL: http://codereview.chromium.org/8113036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103877 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/valgrind/tsan/ignores.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/valgrind/tsan/ignores.txt b/tools/valgrind/tsan/ignores.txt
index 2c5db19..a789bedd 100644
--- a/tools/valgrind/tsan/ignores.txt
+++ b/tools/valgrind/tsan/ignores.txt
@@ -154,3 +154,8 @@ fun:__gen_tempname
# The sqlite cache is racing against a few different stacktraces,
# so let's ignore it recursively. See http://crbug.com/84094
fun_r:pcache1Fetch
+
+# "Suppress" a data race in TraceLog::GetCategory which has
+# fun:MessageLoop::RunTask at the top of the "current" stack which we don't want
+# to suppress. See http://crbug.com/98926
+fun:*base*debug*TraceLog*GetCategoryInternal*