1 //===-- tsan_stat.h ---------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is a part of ThreadSanitizer (TSan), a race detector.
12 //===----------------------------------------------------------------------===//
20 // Memory access processing related stuff.
24 StatMop1
, // These must be consequtive.
32 StatShadowNonZero
, // Derived.
35 StatShadowNotIntersect
,
37 StatShadowAnotherThread
,
100 StatInt___libc_memalign
,
111 StatInt_posix_memalign
,
113 StatInt__ZnwmRKSt9nothrow_t
,
115 StatInt__ZnamRKSt9nothrow_t
,
117 StatInt__ZdlPvRKSt9nothrow_t
,
119 StatInt__ZdaPvRKSt9nothrow_t
,
136 StatInt___cxa_guard_acquire
,
137 StatInt___cxa_guard_release
,
138 StatInt___cxa_guard_abort
,
139 StatInt_pthread_create
,
140 StatInt_pthread_join
,
141 StatInt_pthread_detach
,
142 StatInt_pthread_mutex_init
,
143 StatInt_pthread_mutex_destroy
,
144 StatInt_pthread_mutex_lock
,
145 StatInt_pthread_mutex_trylock
,
146 StatInt_pthread_mutex_timedlock
,
147 StatInt_pthread_mutex_unlock
,
148 StatInt_pthread_spin_init
,
149 StatInt_pthread_spin_destroy
,
150 StatInt_pthread_spin_lock
,
151 StatInt_pthread_spin_trylock
,
152 StatInt_pthread_spin_unlock
,
153 StatInt_pthread_rwlock_init
,
154 StatInt_pthread_rwlock_destroy
,
155 StatInt_pthread_rwlock_rdlock
,
156 StatInt_pthread_rwlock_tryrdlock
,
157 StatInt_pthread_rwlock_timedrdlock
,
158 StatInt_pthread_rwlock_wrlock
,
159 StatInt_pthread_rwlock_trywrlock
,
160 StatInt_pthread_rwlock_timedwrlock
,
161 StatInt_pthread_rwlock_unlock
,
162 StatInt_pthread_cond_init
,
163 StatInt_pthread_cond_destroy
,
164 StatInt_pthread_cond_signal
,
165 StatInt_pthread_cond_broadcast
,
166 StatInt_pthread_cond_wait
,
167 StatInt_pthread_cond_timedwait
,
168 StatInt_pthread_barrier_init
,
169 StatInt_pthread_barrier_destroy
,
170 StatInt_pthread_barrier_wait
,
171 StatInt_pthread_once
,
176 StatInt_sem_timedwait
,
178 StatInt_sem_getvalue
,
207 StatInt_pthread_kill
,
211 StatInt_gettimeofday
,
213 // Dynamic annotations.
215 StatAnnotateHappensBefore
,
216 StatAnnotateHappensAfter
,
217 StatAnnotateCondVarSignal
,
218 StatAnnotateCondVarSignalAll
,
219 StatAnnotateMutexIsNotPHB
,
220 StatAnnotateCondVarWait
,
221 StatAnnotateRWLockCreate
,
222 StatAnnotateRWLockCreateStatic
,
223 StatAnnotateRWLockDestroy
,
224 StatAnnotateRWLockAcquired
,
225 StatAnnotateRWLockReleased
,
226 StatAnnotateTraceMemory
,
227 StatAnnotateFlushState
,
228 StatAnnotateNewMemory
,
230 StatAnnotateFlushExpectedRaces
,
231 StatAnnotateEnableRaceDetection
,
232 StatAnnotateMutexIsUsedAsCondVar
,
235 StatAnnotatePCQDestroy
,
236 StatAnnotatePCQCreate
,
237 StatAnnotateExpectRace
,
238 StatAnnotateBenignRaceSized
,
239 StatAnnotateBenignRace
,
240 StatAnnotateIgnoreReadsBegin
,
241 StatAnnotateIgnoreReadsEnd
,
242 StatAnnotateIgnoreWritesBegin
,
243 StatAnnotateIgnoreWritesEnd
,
244 StatAnnotatePublishMemoryRange
,
245 StatAnnotateUnpublishMemoryRange
,
246 StatAnnotateThreadName
,
248 // Internal mutex contentionz.
259 // This must be the last.
263 } // namespace __tsan
265 #endif // TSAN_STAT_H