hw/misc/macio: Improve trace logs
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 22 Feb 2025 12:28:50 +0000 (13:28 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 5 Mar 2025 01:13:24 +0000 (02:13 +0100)
commit70f98ae150ab05e4807625878d271049af23716b
treed5d605feac9e63ef69953430a6b4ae1784618013
parent7fc96bc4fca0cd8f1733235e987fe8ccf4517203
hw/misc/macio: Improve trace logs

Add macio_gpio_read trace event and use that in macio_gpio_read()
instead of macio_gpio_write. Also change log message to match
macio_timer_{read,write}.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250222122850.9D8B84E603D@zero.eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/misc/macio/gpio.c
hw/misc/macio/trace-events