OSDN Git Service

hw/char/sh_serial: Add device id to trace output
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 29 Oct 2021 21:02:09 +0000 (23:02 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 30 Oct 2021 16:39:37 +0000 (18:39 +0200)
commit44ae04f0328d0726c1b1666600d0aa8da604a341
tree3c5056fc1580b30745828cdb6bdee472508616e4
parentbeeb520925d54f5c69c66656a96dc68de0eec9a4
hw/char/sh_serial: Add device id to trace output

Normally there are at least two sh_serial instances. Add device id to
trace messages to make it clear which instance they belong to
otherwise its not possible to tell which serial device is accessed.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <cc1f9ff9f4259ae799750e452f8871849c7a104c.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/char/sh_serial.c
hw/char/trace-events