+4
−4
+4
−4
+4
−4
Loading
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: e8aa2d95 ("pflash: Simplify trace_pflash_io_read/write") Fixes: c1474acd ("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>