diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-06-21 14:12:55 -0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2018-06-29 15:04:18 +0100 |
commit | 4b46fdd0d4ad2dcbdefd09d410cc90d84452ee2d (patch) | |
tree | d6a15df4e00d7b07fcdd1366b04c2e06715ce706 /hw/net/trace-events | |
parent | a816b62583acf36d78559eca483f32dd2c20c593 (diff) |
hw/net/etraxfs_eth: Convert printf() calls to trace events
Suggested-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/net/trace-events')
-rw-r--r-- | hw/net/trace-events | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/net/trace-events b/hw/net/trace-events index f57010df37..663bea1b74 100644 --- a/hw/net/trace-events +++ b/hw/net/trace-events @@ -1,5 +1,10 @@ # See docs/devel/tracing.txt for syntax documentation. +# hw/net/etraxfs_eth.c +mdio_phy_read(int regnum, uint16_t value) "read phy_reg:%d value:0x%04x" +mdio_phy_write(int regnum, uint16_t value) "write phy_reg:%d value:0x%04x" +mdio_bitbang(bool mdc, bool mdio, int state, uint16_t cnt, unsigned int drive) "bitbang mdc=%u mdio=%u state=%d cnt=%u drv=%d" + # hw/net/lance.c lance_mem_readw(uint64_t addr, uint32_t ret) "addr=0x%"PRIx64"val=0x%04x" lance_mem_writew(uint64_t addr, uint32_t val) "addr=0x%"PRIx64"val=0x%04x" |