Available on crate feature
client_requests_defs
only.Expand description
All public client requests from the drd.h
header file
The client requests which do nothing or are not implemented (as of valgrind version 3.22) are not available.
See also DRD Client Requests
Functions§
- annotate_
benign_ race - Tell DRD that data races at the specified address are expected and must not be reported
- annotate_
benign_ race_ sized - Same as
annotate_benign_race
, but applies to the memory range [addr, addr + size). - annotate_
happens_ after - See
super::helgrind::annotate_happens_before
- annotate_
happens_ before - Create completely arbitrary happens-before edges between threads
- annotate_
ignore_ reads_ and_ writes_ begin - Tell DRD to ignore all memory accesses performed by the current thread.
- annotate_
ignore_ reads_ and_ writes_ end - Tell DRD to no longer ignore the memory accesses performed by the current thread.
- annotate_
ignore_ reads_ begin - Tell DRD to ignore all reads performed by the current thread
- annotate_
ignore_ reads_ end - Tell DRD to no longer ignore the reads performed by the current thread.
- annotate_
ignore_ writes_ begin - Tell DRD to ignore all writes performed by the current thread.
- annotate_
ignore_ writes_ end - Tell DRD to no longer ignore the writes performed by the current thread.
- annotate_
new_ memory - Tell DRD that size bytes starting at addr has been allocated by a custom memory allocator
- annotate_
rwlock_ acquired - Report that the lock at address
lock
has just been acquired - annotate_
rwlock_ create - Report that a lock has just been created at address
lock
- annotate_
rwlock_ destroy - Report that the lock at address
lock
is about to be destroyed - annotate_
rwlock_ released - Report that the lock at address
lock
is about to be released - annotate_
thread_ name - Tell DRD to assign the specified name to the current thread.
- annotate_
trace_ memory - Ask DRD to report every access to the specified address
- get_
drd_ threadid - Obtain the thread ID assigned by DRD
- get_
valgrind_ threadid - Obtain the thread ID assigned by Valgrind’s core
- ignore_
var - Tell DRD not to complain about data races for the specified variable
- stop_
ignoring_ var - Tell DRD to no longer ignore data races for the specified variable that was suppressed via
ignore_var
- stop_
tracing_ var - Tell DRD to stop tracing memory accesses for the specified variable
- trace_
var - Tell DRD to trace all memory accesses for the specified variable until the memory that was allocated for the variable is freed.