summaryrefslogtreecommitdiff
path: root/hw/i2c/trace-events
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i2c/trace-events')
-rw-r--r--hw/i2c/trace-events7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/i2c/trace-events b/hw/i2c/trace-events
new file mode 100644
index 0000000000..d339b61202
--- /dev/null
+++ b/hw/i2c/trace-events
@@ -0,0 +1,7 @@
+# See docs/devel/tracing.txt for syntax documentation.
+
+# hw/i2c/core.c
+
+i2c_event(const char *event, uint8_t address) "%s(addr:0x%02x)"
+i2c_send(uint8_t address, uint8_t data) "send(addr:0x%02x) data:0x%02x"
+i2c_recv(uint8_t address, uint8_t data) "recv(addr:0x%02x) data:0x%02x"