macro_rules! valgrind_printf {
($($args:tt)*) => { ... };
}Available on crate feature
alloc only.Expand description
Prints to the Valgrind log.
This macro requires the alloc feature. In allocation-free builds, use
valgrind_print instead.
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.