summaryrefslogtreecommitdiffstats
path: root/hw/rtc/trace-events
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-01-17 17:58:09 +0100
committerLaurent Vivier2020-02-06 10:51:24 +0100
commite21d73ec7fe0d734589fd3cd5a25c71bcec093d1 (patch)
treee3a3d2e4495e0dd248767b235b76491d92be6093 /hw/rtc/trace-events
parentMAINTAINERS: update Leif Lindholm's address (diff)
downloadqemu-e21d73ec7fe0d734589fd3cd5a25c71bcec093d1.tar.gz
qemu-e21d73ec7fe0d734589fd3cd5a25c71bcec093d1.tar.xz
qemu-e21d73ec7fe0d734589fd3cd5a25c71bcec093d1.zip
hw/timer/m48t59: Convert debug printf()s to trace events
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Hervé Poussineau <hpoussin@reactos.org> Message-Id: <20200117165809.31067-3-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/rtc/trace-events')
-rw-r--r--hw/rtc/trace-events6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/rtc/trace-events b/hw/rtc/trace-events
index d6749f4616..52c1566198 100644
--- a/hw/rtc/trace-events
+++ b/hw/rtc/trace-events
@@ -17,3 +17,9 @@ pl031_set_alarm(uint32_t ticks) "alarm set for %u ticks"
# aspeed-rtc.c
aspeed_rtc_read(uint64_t addr, uint64_t value) "addr 0x%02" PRIx64 " value 0x%08" PRIx64
aspeed_rtc_write(uint64_t addr, uint64_t value) "addr 0x%02" PRIx64 " value 0x%08" PRIx64
+
+# m48t59.c
+m48txx_nvram_io_read(uint64_t addr, uint64_t value) "io read addr:0x%04" PRIx64 " value:0x%02" PRIx64
+m48txx_nvram_io_write(uint64_t addr, uint64_t value) "io write addr:0x%04" PRIx64 " value:0x%02" PRIx64
+m48txx_nvram_mem_read(uint32_t addr, uint32_t value) "mem read addr:0x%04x value:0x%02x"
+m48txx_nvram_mem_write(uint32_t addr, uint32_t value) "mem write addr:0x%04x value:0x%02x"