aboutsummaryrefslogtreecommitdiff
path: root/hw/net/sunhme.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-06-30 18:21:50 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-07-02 22:49:08 +0100
commit6bdc3707d993f9e90a5f592ecf261c4f647dbb46 (patch)
treec9a863db8ee6be48f803584406de8cd211db640d /hw/net/sunhme.c
parentfcd23a67875d6f7f8256b90960ec05312cab2f5b (diff)
downloadqemu-6bdc3707d993f9e90a5f592ecf261c4f647dbb46.zip
qemu-6bdc3707d993f9e90a5f592ecf261c4f647dbb46.tar.gz
qemu-6bdc3707d993f9e90a5f592ecf261c4f647dbb46.tar.bz2
sunhme: add trace event for logging PCI IRQ
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/net/sunhme.c')
-rw-r--r--hw/net/sunhme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/net/sunhme.c b/hw/net/sunhme.c
index 1ebaee3..6d660a8 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);
}