summaryrefslogtreecommitdiffstats
path: root/hw/i2c/trace-events
diff options
context:
space:
mode:
authorKlaus Jensen2022-06-13 14:05:48 +0200
committerCédric Le Goater2022-06-22 09:49:34 +0200
commitb03ec4ff0621cc981238ca8531cd102eebd4da89 (patch)
tree4b0cb5fd054f3ea0a1f901c0818ba45df7e190f6 /hw/i2c/trace-events
parentaspeed: Add I2C buses to AST1030 model (diff)
downloadqemu-b03ec4ff0621cc981238ca8531cd102eebd4da89.tar.gz
qemu-b03ec4ff0621cc981238ca8531cd102eebd4da89.tar.xz
qemu-b03ec4ff0621cc981238ca8531cd102eebd4da89.zip
hw/i2c/aspeed: rework raise interrupt trace event
Build a single string instead of having several parameters on the trace event. Suggested-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com> [ clg: simplified trace buffer creation ] Message-Id: <20220601210831.67259-2-its@irrelevant.dk> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/i2c/trace-events')
-rw-r--r--hw/i2c/trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/trace-events b/hw/i2c/trace-events
index 85e4bddff9..209275ed2d 100644
--- a/hw/i2c/trace-events
+++ b/hw/i2c/trace-events
@@ -9,7 +9,7 @@ i2c_recv(uint8_t address, uint8_t data) "recv(addr:0x%02x) data:0x%02x"
# aspeed_i2c.c
aspeed_i2c_bus_cmd(uint32_t cmd, const char *cmd_flags, uint32_t count, uint32_t intr_status) "handling cmd=0x%x %s count=%d intr=0x%x"
-aspeed_i2c_bus_raise_interrupt(uint32_t intr_status, const char *str1, const char *str2, const char *str3, const char *str4, const char *str5, const char *str6) "handled intr=0x%x %s%s%s%s%s%s"
+aspeed_i2c_bus_raise_interrupt(uint32_t intr_status, const char *s) "handled intr=0x%x %s"
aspeed_i2c_bus_read(uint32_t busid, uint64_t offset, unsigned size, uint64_t value) "bus[%d]: To 0x%" PRIx64 " of size %u: 0x%" PRIx64
aspeed_i2c_bus_write(uint32_t busid, uint64_t offset, unsigned size, uint64_t value) "bus[%d]: To 0x%" PRIx64 " of size %u: 0x%" PRIx64
aspeed_i2c_bus_send(const char *mode, int i, int count, uint8_t byte) "%s send %d/%d 0x%02x"