hw/block/pflash: Simplify trace_pflash_io_read/write()
commite8aa2d95ea2015ce95d712543c78e09a0130be3b
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 26 Jun 2019 16:39:10 +0000 (26 18:39 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 2 Jul 2019 00:16:50 +0000 (2 02:16 +0200)
treecd2140cc0608e3e9af8e6a18ef3ae89c31f7af52
parent60b725b6d436fadad3b96f1ca02d8d342e75bbac
hw/block/pflash: Simplify trace_pflash_io_read/write()

Call the read() trace function after the value is set, so we can
log the returned value.
Rename the I/O trace functions with '_io_' in their name.

Reviewed-by: Stephen Checkoway <stephen.checkoway@oberlin.edu>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190627202719.17739-3-philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/block/pflash_cfi01.c
hw/block/pflash_cfi02.c
hw/block/trace-events