Please note, trace_init_backends() must be called in the final process,
i.e. after daemonization. This is necessary to keep tracing thread in
the proper process.
Signed-off-by: Denis V. Lunev <address@hidden>
CC: Eric Blake <address@hidden>
CC: Paolo Bonzini <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
CC: Kevin Wolf <address@hidden>
---
qemu-nbd.c | 18 +++++++++++++++++-
qemu-nbd.texi | 28 ++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 1 deletion(-)
+" --trace [[enable=]<pattern>][,events=<file>][,file=<file>]\n"
+" specify tracing options\n"
+++ b/qemu-nbd.texi
@@ -92,6 +92,34 @@ Display extra debugging information
Display this help and exit
@item -V, --version
Display version information and exit
address@hidden -T, --trace address@hidden,address@hidden