From 98f113964420f73f0a5b9754278599977a52697b Mon Sep 17 00:00:00 2001 From: Mourad Gouicem Date: Thu, 27 Jul 2023 07:36:18 -0700 Subject: [PATCH] common: ignore inconsequential data-races --- .clang-ignorelist | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.clang-ignorelist b/.clang-ignorelist index f27560efbb..6b052a0d86 100644 --- a/.clang-ignorelist +++ b/.clang-ignorelist @@ -16,3 +16,11 @@ fun:*jit_avx_gemm_f32* # same across all threads. [thread] fun:*setting_t* +# inconsequential data-race: to avoid overheads during verbose info print, we +# check a non-atomic variable before the mutex protected initialization. +[thread] +fun:*pd_info_t*init* +# Low impact: itt initializes lock inside critical region, which TSAN +# flags as data race. tracked by ittapi #94 +[thread] +fun:*__itt_string_handle_create*