aboutsummaryrefslogtreecommitdiff
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
index 52dbd53a23..8e88aa24c1 100644
--- a/hw/i2c/trace-events
+++ b/hw/i2c/trace-events
@@ -1,5 +1,12 @@
# See docs/devel/tracing.rst for syntax documentation.
+# bitbang_i2c.c
+bitbang_i2c_state(const char *old_state, const char *new_state) "state %s -> %s"
+bitbang_i2c_addr(uint8_t addr) "Address 0x%02x"
+bitbang_i2c_send(uint8_t byte) "TX byte 0x%02x"
+bitbang_i2c_recv(uint8_t byte) "RX byte 0x%02x"
+bitbang_i2c_data(unsigned dat, unsigned clk, unsigned old_out, unsigned new_out) "dat %u clk %u out %u -> %u"
+
# core.c
i2c_event(const char *event, uint8_t address) "%s(addr:0x%02x)"