diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-01-11 09:50:15 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2023-01-23 13:32:38 +0000 |
| commit | 1e5b1899ccea8b69e3393c7ed2040aef8b33a9e8 (patch) | |
| tree | 71f957b7a1a8322cdee4c81a76cd7a10d027d7c9 /hw/i2c/trace-events | |
| parent | dc575b5e0300a7a375b4e4501a17ada21e9a6d10 (diff) | |
| download | focaccia-qemu-1e5b1899ccea8b69e3393c7ed2040aef8b33a9e8.tar.gz focaccia-qemu-1e5b1899ccea8b69e3393c7ed2040aef8b33a9e8.zip | |
hw/i2c/bitbang_i2c: Trace state changes
Trace bitbang state machine changes with trace events. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Corey Minyard <cminyard@mvista.com> Message-id: 20230111085016.44551-5-philmd@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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/i2c/trace-events b/hw/i2c/trace-events index 52dbd53a23..48aee4887c 100644 --- a/hw/i2c/trace-events +++ b/hw/i2c/trace-events @@ -1,5 +1,8 @@ # 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" + # core.c i2c_event(const char *event, uint8_t address) "%s(addr:0x%02x)" |