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
,
108 StatInt_posix_memalign
,
110 StatInt__ZnwmRKSt9nothrow_t
,
112 StatInt__ZnamRKSt9nothrow_t
,
114 StatInt__ZdlPvRKSt9nothrow_t
,
116 StatInt__ZdaPvRKSt9nothrow_t
,
133 StatInt___cxa_guard_acquire
,
134 StatInt___cxa_guard_release
,
135 StatInt_pthread_create
,
136 StatInt_pthread_join
,
137 StatInt_pthread_detach
,
138 StatInt_pthread_mutex_init
,
139 StatInt_pthread_mutex_destroy
,
140 StatInt_pthread_mutex_lock
,
141 StatInt_pthread_mutex_trylock
,
142 StatInt_pthread_mutex_timedlock
,
143 StatInt_pthread_mutex_unlock
,
144 StatInt_pthread_spin_init
,
145 StatInt_pthread_spin_destroy
,
146 StatInt_pthread_spin_lock
,
147 StatInt_pthread_spin_trylock
,
148 StatInt_pthread_spin_unlock
,
149 StatInt_pthread_rwlock_init
,
150 StatInt_pthread_rwlock_destroy
,
151 StatInt_pthread_rwlock_rdlock
,
152 StatInt_pthread_rwlock_tryrdlock
,
153 StatInt_pthread_rwlock_timedrdlock
,
154 StatInt_pthread_rwlock_wrlock
,
155 StatInt_pthread_rwlock_trywrlock
,
156 StatInt_pthread_rwlock_timedwrlock
,
157 StatInt_pthread_rwlock_unlock
,
158 StatInt_pthread_cond_init
,
159 StatInt_pthread_cond_destroy
,
160 StatInt_pthread_cond_signal
,
161 StatInt_pthread_cond_broadcast
,
162 StatInt_pthread_cond_wait
,
163 StatInt_pthread_cond_timedwait
,
164 StatInt_pthread_barrier_init
,
165 StatInt_pthread_barrier_destroy
,
166 StatInt_pthread_barrier_wait
,
167 StatInt_pthread_once
,
172 StatInt_sem_timedwait
,
174 StatInt_sem_getvalue
,
203 StatInt_pthread_kill
,
207 StatInt_gettimeofday
,
209 // Dynamic annotations.
211 StatAnnotateHappensBefore
,
212 StatAnnotateHappensAfter
,
213 StatAnnotateCondVarSignal
,
214 StatAnnotateCondVarSignalAll
,
215 StatAnnotateMutexIsNotPHB
,
216 StatAnnotateCondVarWait
,
217 StatAnnotateRWLockCreate
,
218 StatAnnotateRWLockCreateStatic
,
219 StatAnnotateRWLockDestroy
,
220 StatAnnotateRWLockAcquired
,
221 StatAnnotateRWLockReleased
,
222 StatAnnotateTraceMemory
,
223 StatAnnotateFlushState
,
224 StatAnnotateNewMemory
,
226 StatAnnotateFlushExpectedRaces
,
227 StatAnnotateEnableRaceDetection
,
228 StatAnnotateMutexIsUsedAsCondVar
,
231 StatAnnotatePCQDestroy
,
232 StatAnnotatePCQCreate
,
233 StatAnnotateExpectRace
,
234 StatAnnotateBenignRaceSized
,
235 StatAnnotateBenignRace
,
236 StatAnnotateIgnoreReadsBegin
,
237 StatAnnotateIgnoreReadsEnd
,
238 StatAnnotateIgnoreWritesBegin
,
239 StatAnnotateIgnoreWritesEnd
,
240 StatAnnotatePublishMemoryRange
,
241 StatAnnotateUnpublishMemoryRange
,
242 StatAnnotateThreadName
,
244 // Internal mutex contentionz.
255 // This must be the last.
259 } // namespace __tsan
261 #endif // TSAN_STAT_H