qvm_report()

Output vdev status information

Synopsis:

#include <qvm/log.h>
void qvm_report(char const *fmt,
                ...)

Arguments:

fmt
A printf()-like formatted string.
...
Optional arguments for the formatted string above.

Library:

Provided by qvm; no external library is required.

Description:

The qvm_report() function is used by vdevs to output status information when executing the VDEV_CTRL_STATUS callback. This callback is invoked when a SIGUSR1 or SIGUSR2 signal is sent to a qvm process instance. The way qvm_report() outputs text status information depends on which signal was sent. For SIGUSR1, the function logs the text at the INFO level; for SIGUSR2, it adds the text to the dump file.

Page updated: