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.
34 StatShadowNonZero
, // Derived.
37 StatShadowNotIntersect
,
39 StatShadowAnotherThread
,
102 StatInt___libc_memalign
,
107 StatInt_malloc_usable_size
,
114 StatInt_posix_memalign
,
116 StatInt__ZnwmRKSt9nothrow_t
,
118 StatInt__ZnamRKSt9nothrow_t
,
120 StatInt__ZdlPvRKSt9nothrow_t
,
122 StatInt__ZdaPvRKSt9nothrow_t
,
142 StatInt___cxa_guard_acquire
,
143 StatInt___cxa_guard_release
,
144 StatInt___cxa_guard_abort
,
145 StatInt_pthread_create
,
146 StatInt_pthread_join
,
147 StatInt_pthread_detach
,
148 StatInt_pthread_mutex_init
,
149 StatInt_pthread_mutex_destroy
,
150 StatInt_pthread_mutex_lock
,
151 StatInt_pthread_mutex_trylock
,
152 StatInt_pthread_mutex_timedlock
,
153 StatInt_pthread_mutex_unlock
,
154 StatInt_pthread_spin_init
,
155 StatInt_pthread_spin_destroy
,
156 StatInt_pthread_spin_lock
,
157 StatInt_pthread_spin_trylock
,
158 StatInt_pthread_spin_unlock
,
159 StatInt_pthread_rwlock_init
,
160 StatInt_pthread_rwlock_destroy
,
161 StatInt_pthread_rwlock_rdlock
,
162 StatInt_pthread_rwlock_tryrdlock
,
163 StatInt_pthread_rwlock_timedrdlock
,
164 StatInt_pthread_rwlock_wrlock
,
165 StatInt_pthread_rwlock_trywrlock
,
166 StatInt_pthread_rwlock_timedwrlock
,
167 StatInt_pthread_rwlock_unlock
,
168 StatInt_pthread_cond_init
,
169 StatInt_pthread_cond_destroy
,
170 StatInt_pthread_cond_signal
,
171 StatInt_pthread_cond_broadcast
,
172 StatInt_pthread_cond_wait
,
173 StatInt_pthread_cond_timedwait
,
174 StatInt_pthread_barrier_init
,
175 StatInt_pthread_barrier_destroy
,
176 StatInt_pthread_barrier_wait
,
177 StatInt_pthread_once
,
178 StatInt_pthread_getschedparam
,
183 StatInt_sem_timedwait
,
185 StatInt_sem_getvalue
,
207 StatInt_inotify_init
,
208 StatInt_inotify_init1
,
216 StatInt_epoll_create
,
217 StatInt_epoll_create1
,
220 StatInt___res_iclose
,
260 StatInt_pthread_kill
,
264 StatInt_gettimeofday
,
272 StatInt___isoc99_vscanf
,
273 StatInt___isoc99_vsscanf
,
274 StatInt___isoc99_vfscanf
,
275 StatInt___isoc99_scanf
,
276 StatInt___isoc99_sscanf
,
277 StatInt___isoc99_fscanf
,
279 StatInt___cxa_atexit
,
299 StatInt_clock_getres
,
300 StatInt_clock_gettime
,
301 StatInt_clock_settime
,
319 StatInt_gethostbyname
,
320 StatInt_gethostbyname2
,
321 StatInt_gethostbyaddr
,
322 StatInt_gethostent_r
,
323 StatInt_gethostbyname_r
,
324 StatInt_gethostbyname2_r
,
325 StatInt_gethostbyaddr_r
,
340 StatInt_get_current_dir_name
,
351 StatInt_canonicalize_file_name
,
353 StatInt_sched_getaffinity
,
360 // Dynamic annotations.
362 StatAnnotateHappensBefore
,
363 StatAnnotateHappensAfter
,
364 StatAnnotateCondVarSignal
,
365 StatAnnotateCondVarSignalAll
,
366 StatAnnotateMutexIsNotPHB
,
367 StatAnnotateCondVarWait
,
368 StatAnnotateRWLockCreate
,
369 StatAnnotateRWLockCreateStatic
,
370 StatAnnotateRWLockDestroy
,
371 StatAnnotateRWLockAcquired
,
372 StatAnnotateRWLockReleased
,
373 StatAnnotateTraceMemory
,
374 StatAnnotateFlushState
,
375 StatAnnotateNewMemory
,
377 StatAnnotateFlushExpectedRaces
,
378 StatAnnotateEnableRaceDetection
,
379 StatAnnotateMutexIsUsedAsCondVar
,
382 StatAnnotatePCQDestroy
,
383 StatAnnotatePCQCreate
,
384 StatAnnotateExpectRace
,
385 StatAnnotateBenignRaceSized
,
386 StatAnnotateBenignRace
,
387 StatAnnotateIgnoreReadsBegin
,
388 StatAnnotateIgnoreReadsEnd
,
389 StatAnnotateIgnoreWritesBegin
,
390 StatAnnotateIgnoreWritesEnd
,
391 StatAnnotatePublishMemoryRange
,
392 StatAnnotateUnpublishMemoryRange
,
393 StatAnnotateThreadName
,
395 // Internal mutex contentionz.
409 // This must be the last.
413 } // namespace __tsan
415 #endif // TSAN_STAT_H