iai_callgrind::client_requests::valgrind

Function monitor_command

source
pub fn monitor_command<T>(command: T) -> bool
where T: AsRef<CStr>,
Available on crate feature client_requests_defs only.
Expand description

Execute a monitor command from the client program

If a connection is opened with GDB, the output will be sent according to the output mode set for vgdb. If no connection is opened, output will go to the log output. Returns false if command not recognized, true otherwise. Note the return value deviates from the original in valgrind.h which returns 1 if the command was not recognized and 0 otherwise.

See also Valgrind monitor commands