hw/block/pflash_cfi: Replace DPRINTF with trace events
commit91316cbb3830bb845c42da2d6eab06de56b889b0
authorDavid Edmondson <david.edmondson@oracle.com>
Tue, 16 Feb 2021 14:27:18 +0000 (16 14:27 +0000)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 18 Mar 2021 10:16:31 +0000 (18 11:16 +0100)
tree816dc5ca691ce28f627dbea942b7fb890df4e9b4
parent2231bee28c03a60836fc75bc737448042e33272b
hw/block/pflash_cfi: Replace DPRINTF with trace events

Rather than having a device specific debug implementation in
pflash_cfi01.c and pflash_cfi02.c, use the standard tracing facility.

Signed-off-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210216142721.1985543-2-david.edmondson@oracle.com>
[PMD: Rebased, fixed pflash_write_block_erase trace event format]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
hw/block/pflash_cfi01.c
hw/block/pflash_cfi02.c
hw/block/trace-events