hw/char/serial: Rename I/O read/write trace events
commitf2336b5fbdfcf0aef9a66e4b170648e10faf7a8e
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 7 Sep 2020 01:55:32 +0000 (7 03:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:09:20 +0000 (30 19:09 +0200)
tree0861e76c5cd048f69c859642e88bebfea8da6bc3
parent1acb1fe1665b68f226943bbd2919c630b7e0344c
hw/char/serial: Rename I/O read/write trace events

The serial_mm_read/write() handlers from the TYPE_SERIAL_MM device
call the serial_ioport_read/write() handlers with shifted offset.

When looking at the trace events from this MMIO device, it is
confusing to read the accesses as I/O. Simplify using generic
trace event names which make sense the various uses.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200907015535.827885-5-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/char/serial.c
hw/char/trace-events