[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/6] sunhme: add trace event for logging PCI IRQ
From: |
Mark Cave-Ayland |
Subject: |
[Qemu-devel] [PULL 2/6] sunhme: add trace event for logging PCI IRQ |
Date: |
Tue, 2 Jul 2019 23:16:02 +0100 |
Signed-off-by: Mark Cave-Ayland <address@hidden>
---
hw/net/sunhme.c | 2 ++
hw/net/trace-events | 1 +
2 files changed, 3 insertions(+)
diff --git a/hw/net/sunhme.c b/hw/net/sunhme.c
index 1ebaee3c82..6d660a8238 100644
--- a/hw/net/sunhme.c
+++ b/hw/net/sunhme.c
@@ -209,6 +209,8 @@ static void sunhme_update_irq(SunHMEState *s)
}
level = (seb ? 1 : 0);
+ trace_sunhme_update_irq(mifmask, mif, sebmask, seb, level);
+
pci_set_irq(d, level);
}
diff --git a/hw/net/trace-events b/hw/net/trace-events
index 3cd9e122df..d16273c579 100644
--- a/hw/net/trace-events
+++ b/hw/net/trace-events
@@ -359,6 +359,7 @@ sunhme_rx_filter_reject(void) "rejecting incoming frame"
sunhme_rx_filter_accept(void) "accepting incoming frame"
sunhme_rx_desc(uint32_t addr, int offset, uint32_t status, int len, int cr,
int nr) "addr 0x%"PRIx32"(+0x%x) status 0x%"PRIx32 " len %d (ring %d/%d)"
sunhme_rx_xsum_calc(uint16_t xsum) "calculated incoming xsum as 0x%x"
+sunhme_update_irq(uint32_t mifmask, uint32_t mif, uint32_t sebmask, uint32_t
seb, int level) "mifmask: 0x%x mif: 0x%x sebmask: 0x%x seb: 0x%x level: %d"
# virtio-net.c
virtio_net_announce_notify(void) ""
--
2.11.0
- [Qemu-devel] [PULL 0/6] qemu-sparc queue 20190702, Mark Cave-Ayland, 2019/07/02
- [Qemu-devel] [PULL 5/6] sunhme: fix return values from sunhme_receive() during receive packet processing, Mark Cave-Ayland, 2019/07/02
- [Qemu-devel] [PULL 1/6] sun4m: set default display type to TCX, Mark Cave-Ayland, 2019/07/02
- [Qemu-devel] [PULL 4/6] sunhme: flush any queued packets when HME_MAC_RXCFG_ENABLE bit is raised, Mark Cave-Ayland, 2019/07/02
- [Qemu-devel] [PULL 2/6] sunhme: add trace event for logging PCI IRQ,
Mark Cave-Ayland <=
- [Qemu-devel] [PULL 3/6] sunhme: fix incorrect constant in sunhme_can_receive(), Mark Cave-Ayland, 2019/07/02
- [Qemu-devel] [PULL 6/6] sunhme: ensure that RX descriptor ring overflow is indicated to client driver, Mark Cave-Ayland, 2019/07/02
- Re: [Qemu-devel] [PULL 0/6] qemu-sparc queue 20190702, no-reply, 2019/07/02
- Re: [Qemu-devel] [PULL 0/6] qemu-sparc queue 20190702, Peter Maydell, 2019/07/04