Back to index

python3.2  3.2.2
Defines | Functions
dynamic_annotations.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DYNAMIC_ANNOTATIONS_ENABLED   0
#define _Py_ANNOTATE_RWLOCK_CREATE(lock)   /* empty */
#define _Py_ANNOTATE_RWLOCK_DESTROY(lock)   /* empty */
#define _Py_ANNOTATE_RWLOCK_ACQUIRED(lock, is_w)   /* empty */
#define _Py_ANNOTATE_RWLOCK_RELEASED(lock, is_w)   /* empty */
#define _Py_ANNOTATE_BARRIER_INIT(barrier, count, reinitialization_allowed)   /* */
#define _Py_ANNOTATE_BARRIER_WAIT_BEFORE(barrier)   /* empty */
#define _Py_ANNOTATE_BARRIER_WAIT_AFTER(barrier)   /* empty */
#define _Py_ANNOTATE_BARRIER_DESTROY(barrier)   /* empty */
#define _Py_ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock)   /* empty */
#define _Py_ANNOTATE_CONDVAR_WAIT(cv)   /* empty */
#define _Py_ANNOTATE_CONDVAR_SIGNAL(cv)   /* empty */
#define _Py_ANNOTATE_CONDVAR_SIGNAL_ALL(cv)   /* empty */
#define _Py_ANNOTATE_HAPPENS_BEFORE(obj)   /* empty */
#define _Py_ANNOTATE_HAPPENS_AFTER(obj)   /* empty */
#define _Py_ANNOTATE_PUBLISH_MEMORY_RANGE(address, size)   /* empty */
#define _Py_ANNOTATE_UNPUBLISH_MEMORY_RANGE(address, size)   /* empty */
#define _Py_ANNOTATE_SWAP_MEMORY_RANGE(address, size)   /* empty */
#define _Py_ANNOTATE_PCQ_CREATE(pcq)   /* empty */
#define _Py_ANNOTATE_PCQ_DESTROY(pcq)   /* empty */
#define _Py_ANNOTATE_PCQ_PUT(pcq)   /* empty */
#define _Py_ANNOTATE_PCQ_GET(pcq)   /* empty */
#define _Py_ANNOTATE_NEW_MEMORY(address, size)   /* empty */
#define _Py_ANNOTATE_EXPECT_RACE(address, description)   /* empty */
#define _Py_ANNOTATE_BENIGN_RACE(address, description)   /* empty */
#define _Py_ANNOTATE_BENIGN_RACE_SIZED(address, size, description)   /* empty */
#define _Py_ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX(mu)   /* empty */
#define _Py_ANNOTATE_MUTEX_IS_USED_AS_CONDVAR(mu)   /* empty */
#define _Py_ANNOTATE_TRACE_MEMORY(arg)   /* empty */
#define _Py_ANNOTATE_THREAD_NAME(name)   /* empty */
#define _Py_ANNOTATE_IGNORE_READS_BEGIN()   /* empty */
#define _Py_ANNOTATE_IGNORE_READS_END()   /* empty */
#define _Py_ANNOTATE_IGNORE_WRITES_BEGIN()   /* empty */
#define _Py_ANNOTATE_IGNORE_WRITES_END()   /* empty */
#define _Py_ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN()   /* empty */
#define _Py_ANNOTATE_IGNORE_READS_AND_WRITES_END()   /* empty */
#define _Py_ANNOTATE_IGNORE_SYNC_BEGIN()   /* empty */
#define _Py_ANNOTATE_IGNORE_SYNC_END()   /* empty */
#define _Py_ANNOTATE_ENABLE_RACE_DETECTION(enable)   /* empty */
#define _Py_ANNOTATE_NO_OP(arg)   /* empty */
#define _Py_ANNOTATE_FLUSH_STATE()   /* empty */
#define _Py_ANNOTATE_UNPROTECTED_READ(x)   (x)
#define _Py_ANNOTATE_BENIGN_RACE_STATIC(static_var, description)   /* empty */

Functions

void AnnotateRWLockCreate (const char *file, int line, const volatile void *lock)
void AnnotateRWLockDestroy (const char *file, int line, const volatile void *lock)
void AnnotateRWLockAcquired (const char *file, int line, const volatile void *lock, long is_w)
void AnnotateRWLockReleased (const char *file, int line, const volatile void *lock, long is_w)
void AnnotateBarrierInit (const char *file, int line, const volatile void *barrier, long count, long reinitialization_allowed)
void AnnotateBarrierWaitBefore (const char *file, int line, const volatile void *barrier)
void AnnotateBarrierWaitAfter (const char *file, int line, const volatile void *barrier)
void AnnotateBarrierDestroy (const char *file, int line, const volatile void *barrier)
void AnnotateCondVarWait (const char *file, int line, const volatile void *cv, const volatile void *lock)
void AnnotateCondVarSignal (const char *file, int line, const volatile void *cv)
void AnnotateCondVarSignalAll (const char *file, int line, const volatile void *cv)
void AnnotatePublishMemoryRange (const char *file, int line, const volatile void *address, long size)
void AnnotateUnpublishMemoryRange (const char *file, int line, const volatile void *address, long size)
void AnnotatePCQCreate (const char *file, int line, const volatile void *pcq)
void AnnotatePCQDestroy (const char *file, int line, const volatile void *pcq)
void AnnotatePCQPut (const char *file, int line, const volatile void *pcq)
void AnnotatePCQGet (const char *file, int line, const volatile void *pcq)
void AnnotateNewMemory (const char *file, int line, const volatile void *address, long size)
void AnnotateExpectRace (const char *file, int line, const volatile void *address, const char *description)
void AnnotateBenignRace (const char *file, int line, const volatile void *address, const char *description)
void AnnotateBenignRaceSized (const char *file, int line, const volatile void *address, long size, const char *description)
void AnnotateMutexIsUsedAsCondVar (const char *file, int line, const volatile void *mu)
void AnnotateTraceMemory (const char *file, int line, const volatile void *arg)
void AnnotateThreadName (const char *file, int line, const char *name)
void AnnotateIgnoreReadsBegin (const char *file, int line)
void AnnotateIgnoreReadsEnd (const char *file, int line)
void AnnotateIgnoreWritesBegin (const char *file, int line)
void AnnotateIgnoreWritesEnd (const char *file, int line)
void AnnotateEnableRaceDetection (const char *file, int line, int enable)
void AnnotateNoOp (const char *file, int line, const volatile void *arg)
void AnnotateFlushState (const char *file, int line)
int RunningOnValgrind (void)

Define Documentation

#define _Py_ANNOTATE_BARRIER_DESTROY (   barrier)    /* empty */

Definition at line 335 of file dynamic_annotations.h.

#define _Py_ANNOTATE_BARRIER_INIT (   barrier,
  count,
  reinitialization_allowed 
)    /* */

Definition at line 332 of file dynamic_annotations.h.

#define _Py_ANNOTATE_BARRIER_WAIT_AFTER (   barrier)    /* empty */

Definition at line 334 of file dynamic_annotations.h.

#define _Py_ANNOTATE_BARRIER_WAIT_BEFORE (   barrier)    /* empty */

Definition at line 333 of file dynamic_annotations.h.

#define _Py_ANNOTATE_BENIGN_RACE (   address,
  description 
)    /* empty */

Definition at line 351 of file dynamic_annotations.h.

#define _Py_ANNOTATE_BENIGN_RACE_SIZED (   address,
  size,
  description 
)    /* empty */

Definition at line 352 of file dynamic_annotations.h.

#define _Py_ANNOTATE_BENIGN_RACE_STATIC (   static_var,
  description 
)    /* empty */

Definition at line 495 of file dynamic_annotations.h.

#define _Py_ANNOTATE_CONDVAR_LOCK_WAIT (   cv,
  lock 
)    /* empty */

Definition at line 336 of file dynamic_annotations.h.

#define _Py_ANNOTATE_CONDVAR_SIGNAL (   cv)    /* empty */

Definition at line 338 of file dynamic_annotations.h.

#define _Py_ANNOTATE_CONDVAR_SIGNAL_ALL (   cv)    /* empty */

Definition at line 339 of file dynamic_annotations.h.

#define _Py_ANNOTATE_CONDVAR_WAIT (   cv)    /* empty */

Definition at line 337 of file dynamic_annotations.h.

#define _Py_ANNOTATE_ENABLE_RACE_DETECTION (   enable)    /* empty */

Definition at line 365 of file dynamic_annotations.h.

#define _Py_ANNOTATE_EXPECT_RACE (   address,
  description 
)    /* empty */

Definition at line 350 of file dynamic_annotations.h.

#define _Py_ANNOTATE_FLUSH_STATE ( )    /* empty */

Definition at line 367 of file dynamic_annotations.h.

#define _Py_ANNOTATE_HAPPENS_AFTER (   obj)    /* empty */

Definition at line 341 of file dynamic_annotations.h.

#define _Py_ANNOTATE_HAPPENS_BEFORE (   obj)    /* empty */

Definition at line 340 of file dynamic_annotations.h.

#define _Py_ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN ( )    /* empty */

Definition at line 361 of file dynamic_annotations.h.

#define _Py_ANNOTATE_IGNORE_READS_AND_WRITES_END ( )    /* empty */

Definition at line 362 of file dynamic_annotations.h.

#define _Py_ANNOTATE_IGNORE_READS_BEGIN ( )    /* empty */

Definition at line 357 of file dynamic_annotations.h.

#define _Py_ANNOTATE_IGNORE_READS_END ( )    /* empty */

Definition at line 358 of file dynamic_annotations.h.

#define _Py_ANNOTATE_IGNORE_SYNC_BEGIN ( )    /* empty */

Definition at line 363 of file dynamic_annotations.h.

#define _Py_ANNOTATE_IGNORE_SYNC_END ( )    /* empty */

Definition at line 364 of file dynamic_annotations.h.

#define _Py_ANNOTATE_IGNORE_WRITES_BEGIN ( )    /* empty */

Definition at line 359 of file dynamic_annotations.h.

#define _Py_ANNOTATE_IGNORE_WRITES_END ( )    /* empty */

Definition at line 360 of file dynamic_annotations.h.

#define _Py_ANNOTATE_MUTEX_IS_USED_AS_CONDVAR (   mu)    /* empty */

Definition at line 354 of file dynamic_annotations.h.

#define _Py_ANNOTATE_NEW_MEMORY (   address,
  size 
)    /* empty */

Definition at line 349 of file dynamic_annotations.h.

#define _Py_ANNOTATE_NO_OP (   arg)    /* empty */

Definition at line 366 of file dynamic_annotations.h.

#define _Py_ANNOTATE_PCQ_CREATE (   pcq)    /* empty */

Definition at line 345 of file dynamic_annotations.h.

#define _Py_ANNOTATE_PCQ_DESTROY (   pcq)    /* empty */

Definition at line 346 of file dynamic_annotations.h.

#define _Py_ANNOTATE_PCQ_GET (   pcq)    /* empty */

Definition at line 348 of file dynamic_annotations.h.

#define _Py_ANNOTATE_PCQ_PUT (   pcq)    /* empty */

Definition at line 347 of file dynamic_annotations.h.

#define _Py_ANNOTATE_PUBLISH_MEMORY_RANGE (   address,
  size 
)    /* empty */

Definition at line 342 of file dynamic_annotations.h.

#define _Py_ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX (   mu)    /* empty */

Definition at line 353 of file dynamic_annotations.h.

#define _Py_ANNOTATE_RWLOCK_ACQUIRED (   lock,
  is_w 
)    /* empty */

Definition at line 330 of file dynamic_annotations.h.

#define _Py_ANNOTATE_RWLOCK_CREATE (   lock)    /* empty */

Definition at line 328 of file dynamic_annotations.h.

#define _Py_ANNOTATE_RWLOCK_DESTROY (   lock)    /* empty */

Definition at line 329 of file dynamic_annotations.h.

#define _Py_ANNOTATE_RWLOCK_RELEASED (   lock,
  is_w 
)    /* empty */

Definition at line 331 of file dynamic_annotations.h.

#define _Py_ANNOTATE_SWAP_MEMORY_RANGE (   address,
  size 
)    /* empty */

Definition at line 344 of file dynamic_annotations.h.

#define _Py_ANNOTATE_THREAD_NAME (   name)    /* empty */

Definition at line 356 of file dynamic_annotations.h.

#define _Py_ANNOTATE_TRACE_MEMORY (   arg)    /* empty */

Definition at line 355 of file dynamic_annotations.h.

#define _Py_ANNOTATE_UNPROTECTED_READ (   x)    (x)

Definition at line 494 of file dynamic_annotations.h.

#define _Py_ANNOTATE_UNPUBLISH_MEMORY_RANGE (   address,
  size 
)    /* empty */

Definition at line 343 of file dynamic_annotations.h.

Definition at line 60 of file dynamic_annotations.h.


Function Documentation

void AnnotateBarrierDestroy ( const char *  file,
int  line,
const volatile void barrier 
)
void AnnotateBarrierInit ( const char *  file,
int  line,
const volatile void barrier,
long  count,
long  reinitialization_allowed 
)
void AnnotateBarrierWaitAfter ( const char *  file,
int  line,
const volatile void barrier 
)
void AnnotateBarrierWaitBefore ( const char *  file,
int  line,
const volatile void barrier 
)
void AnnotateBenignRace ( const char *  file,
int  line,
const volatile void address,
const char *  description 
)
void AnnotateBenignRaceSized ( const char *  file,
int  line,
const volatile void address,
long  size,
const char *  description 
)
void AnnotateCondVarSignal ( const char *  file,
int  line,
const volatile void cv 
)
void AnnotateCondVarSignalAll ( const char *  file,
int  line,
const volatile void cv 
)
void AnnotateCondVarWait ( const char *  file,
int  line,
const volatile void cv,
const volatile void lock 
)
void AnnotateEnableRaceDetection ( const char *  file,
int  line,
int  enable 
)
void AnnotateExpectRace ( const char *  file,
int  line,
const volatile void address,
const char *  description 
)
void AnnotateFlushState ( const char *  file,
int  line 
)
void AnnotateIgnoreReadsBegin ( const char *  file,
int  line 
)
void AnnotateIgnoreReadsEnd ( const char *  file,
int  line 
)
void AnnotateIgnoreWritesBegin ( const char *  file,
int  line 
)
void AnnotateIgnoreWritesEnd ( const char *  file,
int  line 
)
void AnnotateMutexIsUsedAsCondVar ( const char *  file,
int  line,
const volatile void mu 
)
void AnnotateNewMemory ( const char *  file,
int  line,
const volatile void address,
long  size 
)
void AnnotateNoOp ( const char *  file,
int  line,
const volatile void arg 
)
void AnnotatePCQCreate ( const char *  file,
int  line,
const volatile void pcq 
)
void AnnotatePCQDestroy ( const char *  file,
int  line,
const volatile void pcq 
)
void AnnotatePCQGet ( const char *  file,
int  line,
const volatile void pcq 
)
void AnnotatePCQPut ( const char *  file,
int  line,
const volatile void pcq 
)
void AnnotatePublishMemoryRange ( const char *  file,
int  line,
const volatile void address,
long  size 
)
void AnnotateRWLockAcquired ( const char *  file,
int  line,
const volatile void lock,
long  is_w 
)
void AnnotateRWLockCreate ( const char *  file,
int  line,
const volatile void lock 
)
void AnnotateRWLockDestroy ( const char *  file,
int  line,
const volatile void lock 
)
void AnnotateRWLockReleased ( const char *  file,
int  line,
const volatile void lock,
long  is_w 
)
void AnnotateThreadName ( const char *  file,
int  line,
const char *  name 
)
void AnnotateTraceMemory ( const char *  file,
int  line,
const volatile void arg 
)
void AnnotateUnpublishMemoryRange ( const char *  file,
int  line,
const volatile void address,
long  size 
)