mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
hw/i2c/bitbang_i2c: Convert DPRINTF() to trace events
Convert the remaining DPRINTF debug macro uses to tracepoints. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Acked-by: Corey Minyard <cminyard@mvista.com> Message-id: 20230111085016.44551-6-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
1e5b1899cc
commit
c166e592a7
2 changed files with 10 additions and 12 deletions
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
# 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue