1 //===-- tsan_stat.h ---------------------------------------------*- C++ -*-===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // This file is a part of ThreadSanitizer (TSan), a race detector.
10 //===----------------------------------------------------------------------===//
18 // Memory access processing related stuff.
22 StatMop1
, // These must be consequtive.
30 StatShadowNonZero
, // Derived.
33 StatShadowNotIntersect
,
35 StatShadowAnotherThread
,
98 StatInt___libc_memalign
,
109 StatInt_posix_memalign
,
111 StatInt__ZnwmRKSt9nothrow_t
,
113 StatInt__ZnamRKSt9nothrow_t
,
115 StatInt__ZdlPvRKSt9nothrow_t
,
117 StatInt__ZdaPvRKSt9nothrow_t
,
134 StatInt___cxa_guard_acquire
,
135 StatInt___cxa_guard_release
,
136 StatInt___cxa_guard_abort
,
137 StatInt_pthread_create
,
138 StatInt_pthread_join
,
139 StatInt_pthread_detach
,
140 StatInt_pthread_mutex_init
,
141 StatInt_pthread_mutex_destroy
,
142 StatInt_pthread_mutex_lock
,
143 StatInt_pthread_mutex_trylock
,
144 StatInt_pthread_mutex_timedlock
,
145 StatInt_pthread_mutex_unlock
,
146 StatInt_pthread_spin_init
,
147 StatInt_pthread_spin_destroy
,
148 StatInt_pthread_spin_lock
,
149 StatInt_pthread_spin_trylock
,
150 StatInt_pthread_spin_unlock
,
151 StatInt_pthread_rwlock_init
,
152 StatInt_pthread_rwlock_destroy
,
153 StatInt_pthread_rwlock_rdlock
,
154 StatInt_pthread_rwlock_tryrdlock
,
155 StatInt_pthread_rwlock_timedrdlock
,
156 StatInt_pthread_rwlock_wrlock
,
157 StatInt_pthread_rwlock_trywrlock
,
158 StatInt_pthread_rwlock_timedwrlock
,
159 StatInt_pthread_rwlock_unlock
,
160 StatInt_pthread_cond_init
,
161 StatInt_pthread_cond_destroy
,
162 StatInt_pthread_cond_signal
,
163 StatInt_pthread_cond_broadcast
,
164 StatInt_pthread_cond_wait
,
165 StatInt_pthread_cond_timedwait
,
166 StatInt_pthread_barrier_init
,
167 StatInt_pthread_barrier_destroy
,
168 StatInt_pthread_barrier_wait
,
169 StatInt_pthread_once
,
174 StatInt_sem_timedwait
,
176 StatInt_sem_getvalue
,
198 StatInt_inotify_init
,
199 StatInt_inotify_init1
,
207 StatInt_epoll_create
,
208 StatInt_epoll_create1
,
211 StatInt___res_iclose
,
245 StatInt_pthread_kill
,
249 StatInt_gettimeofday
,
257 StatInt___isoc99_vscanf
,
258 StatInt___isoc99_vsscanf
,
259 StatInt___isoc99_vfscanf
,
260 StatInt___isoc99_scanf
,
261 StatInt___isoc99_sscanf
,
262 StatInt___isoc99_fscanf
,
264 StatInt___cxa_atexit
,
274 // Dynamic annotations.
276 StatAnnotateHappensBefore
,
277 StatAnnotateHappensAfter
,
278 StatAnnotateCondVarSignal
,
279 StatAnnotateCondVarSignalAll
,
280 StatAnnotateMutexIsNotPHB
,
281 StatAnnotateCondVarWait
,
282 StatAnnotateRWLockCreate
,
283 StatAnnotateRWLockCreateStatic
,
284 StatAnnotateRWLockDestroy
,
285 StatAnnotateRWLockAcquired
,
286 StatAnnotateRWLockReleased
,
287 StatAnnotateTraceMemory
,
288 StatAnnotateFlushState
,
289 StatAnnotateNewMemory
,
291 StatAnnotateFlushExpectedRaces
,
292 StatAnnotateEnableRaceDetection
,
293 StatAnnotateMutexIsUsedAsCondVar
,
296 StatAnnotatePCQDestroy
,
297 StatAnnotatePCQCreate
,
298 StatAnnotateExpectRace
,
299 StatAnnotateBenignRaceSized
,
300 StatAnnotateBenignRace
,
301 StatAnnotateIgnoreReadsBegin
,
302 StatAnnotateIgnoreReadsEnd
,
303 StatAnnotateIgnoreWritesBegin
,
304 StatAnnotateIgnoreWritesEnd
,
305 StatAnnotatePublishMemoryRange
,
306 StatAnnotateUnpublishMemoryRange
,
307 StatAnnotateThreadName
,
309 // Internal mutex contentionz.
323 // This must be the last.
327 } // namespace __tsan
329 #endif // TSAN_STAT_H