iai_callgrind::client_requests::valgrind

Function discard_translations

source
pub fn discard_translations(addr: *const (), len: usize)
Available on crate feature client_requests_defs only.
Expand description

Discard translation of code in the range [addr … addr + len - 1].

Useful if you are debugging a JITter or some such, since it provides a way to make sure valgrind will retranslate the invalidated area.