iai_callgrind

Macro valgrind_printf

source
macro_rules! valgrind_printf {
    ($($arg:tt)*) => { ... };
}
Available on crate feature client_requests_defs only.
Expand description

Allow prints to valgrind log

This macro is a safe variant of the VALGRIND_PRINTF function, checking for \0 bytes in the formatting string. However, if you’re sure there are no \0 bytes present you can safely use crate::valgrind_printf_unchecked which performs better compared to this macro.