iai_callgrind::client_requests::valgrind

Function map_ip_to_srcloc

source
pub fn map_ip_to_srcloc(addr: *const (), buf64: *const ()) -> usize
Available on crate feature client_requests_defs only.
Expand description

Map a code address to a source file name and line number

buf64 must point to a 64-byte buffer in the caller’s address space. The result will be dumped in there and is guaranteed to be zero terminated. If no info is found, the first byte is set to zero.