trace: enable tracing in qemu-nbd
authorDenis V. Lunev <den@openvz.org>
Fri, 17 Jun 2016 14:44:12 +0000 (17:44 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 28 Jun 2016 20:14:12 +0000 (21:14 +0100)
commit39ca463e81d102c08012f922cba8b784558eee81
treed023389268517170697812ce4658d441575d5349
parente9a80859d67b217ed15b9b3820ca16ae117bb117
trace: enable tracing in qemu-nbd

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 <den@openvz.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1466174654-30130-6-git-send-email-den@openvz.org
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Makefile
qemu-nbd.c
qemu-nbd.texi