summaryrefslogtreecommitdiffstats
path: root/scripts/make-release
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2017-07-07 17:29:18 +0200
committerEric Blake2017-07-10 16:57:24 +0200
commit9588463e747706ffbaf6f4600b5efea2779bc26f (patch)
tree7dd904cbddf0e79c88890bbc2e9d1fb74222b79b /scripts/make-release
parentnbd: refactor tracing (diff)
downloadqemu-9588463e747706ffbaf6f4600b5efea2779bc26f.tar.gz
qemu-9588463e747706ffbaf6f4600b5efea2779bc26f.tar.xz
qemu-9588463e747706ffbaf6f4600b5efea2779bc26f.zip
nbd: use generic trace subsystem instead of TRACE macro
Let NBD use the trace mechanisms already present in qemu. Now you can use the -trace optino of qemu, or the -T/--trace option of qemu-img, qemu-io, and qemu-nbd, to select nbd traces. For qemu, the QMP commands trace-event-{get,set}-state can also toggle tracing on the fly. Example: qemu-nbd --trace 'nbd_*' <image file> # enables all nbd traces Recompilation with CFLAGS=-DDEBUG_NBD is no more needed, furthermore, DEBUG_NBD macro is removed from the code. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20170707152918.23086-11-vsementsov@virtuozzo.com> [eblake: minor tweaks to a couple of traces] Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/make-release')
0 files changed, 0 insertions, 0 deletions