diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-06-08 13:15:33 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-06-08 13:15:33 +0100 |
commit | 08bb9b347b9597252338a599421818f4a4e333cb (patch) | |
tree | 6b42a990b30c98ef5d2e8ed2f50474602dd17674 /hw/i2c/trace-events | |
parent | da969774af548f7b75c0ec1672787fe8cebd1257 (diff) | |
download | qemu-08bb9b347b9597252338a599421818f4a4e333cb.zip qemu-08bb9b347b9597252338a599421818f4a4e333cb.tar.gz qemu-08bb9b347b9597252338a599421818f4a4e333cb.tar.bz2 |
hw/i2c: Add trace events
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180606191801.6331-1-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c/trace-events')
-rw-r--r-- | hw/i2c/trace-events | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/i2c/trace-events b/hw/i2c/trace-events new file mode 100644 index 0000000..d339b61 --- /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" |