summary refs log tree commit diff stats
path: root/scripts/qapi/doc.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-11-08 15:11:34 +0100
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2019-11-19 14:45:58 +0100
commit10f9f1fbed11e520e6fd71f02cd71f0e9c759b69 (patch)
tree138028d0bfcca678dea1da63bde346cf4fde8ffd /scripts/qapi/doc.py
parent385e43e6638464009e09cfaec254012e531f6342 (diff)
downloadfocaccia-qemu-10f9f1fbed11e520e6fd71f02cd71f0e9c759b69.tar.gz
focaccia-qemu-10f9f1fbed11e520e6fd71f02cd71f0e9c759b69.zip
hw/block/pflash: Remove dynamic field width from trace events
Since not all trace backends support dynamic field width in
format (dtrace via stap does not), replace by a static field
width instead.

We previously passed to the trace API 'width << 1' as the number
of hex characters to display (the dynamic field width). We don't
need this anymore. Instead, display the size of bytes accessed.

Fixes: e8aa2d95ea ("pflash: Simplify trace_pflash_io_read/write")
Fixes: c1474acd5d ("pflash: Simplify trace_pflash_data_read/write")
Reported-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Buglink: https://bugs.launchpad.net/qemu/+bug/1844817
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'scripts/qapi/doc.py')
0 files changed, 0 insertions, 0 deletions