OSDN Git Service

hw/char/serial: Replace commented DPRINTF() by trace event
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 7 Sep 2020 01:55:30 +0000 (03:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:09:20 +0000 (19:09 +0200)
commit4d7b9a6373504cd75a589775fee9debf76912d39
treec7daf8e8f95a7ab92564f3f51512621f8e4e997c
parent6ab9be1ec1267865c2f4c334668e05f5810b8836
hw/char/serial: Replace commented DPRINTF() by trace event

Convert the old debug PRINTF() call to display the UART
baudrate to a trace event.

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