On 06/13/2016 10:58 AM, Denis V. Lunev wrote: > 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 > CC: Eric Blake > CC: Paolo Bonzini > CC: Stefan Hajnoczi > CC: Kevin Wolf > --- > Makefile | 2 +- > qemu-nbd.c | 18 +++++++++++++++++- > qemu-nbd.texi | 2 ++ > 3 files changed, 20 insertions(+), 2 deletions(-) > > +++ b/qemu-nbd.c > @@ -88,6 +90,8 @@ static void usage(const char *name) > "General purpose options:\n" > " --object type,id=ID,... define an object such as 'secret' for providing\n" > " passwords and/or encryption keys\n" > +" -T, --trace [[enable=]][,events=][,file=]\n" > +" specify tracing options\n" > +++ b/qemu-nbd.texi > @@ -92,6 +92,8 @@ Display extra debugging information > Display this help and exit > @item -V, --version > Display version information and exit > +@item -T, --trace [events=@var{file}][,file=@var{file}] Still not consistent. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org