summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2013-08-21 06:42:06 +0200
committerMichael S. Tsirkin2013-08-28 09:11:23 +0200
commit3bf4dfdd1110de84ca0cecff0679cf7da90bfbfe (patch)
tree229e224e87690ed6c2bb84a703719aa5d918166e /trace-events
parentpc: fix regression for 64 bit PCI memory (diff)
downloadqemu-3bf4dfdd1110de84ca0cecff0679cf7da90bfbfe.tar.gz
qemu-3bf4dfdd1110de84ca0cecff0679cf7da90bfbfe.tar.xz
qemu-3bf4dfdd1110de84ca0cecff0679cf7da90bfbfe.zip
pci: add config space access traces
This adds pci_cfg_read and pci_cfg_write traces for config spaces accesses. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events4
1 files changed, 4 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 3856b5c206..9d1d1df89d 100644
--- a/trace-events
+++ b/trace-events
@@ -1176,3 +1176,7 @@ object_class_dynamic_cast_assert(const char *type, const char *target, const cha
# hw/xen/xen_pvdevice.c
xen_pv_mmio_read(uint64_t addr) "WARNING: read from Xen PV Device MMIO space (address %"PRIx64")"
xen_pv_mmio_write(uint64_t addr) "WARNING: write to Xen PV Device MMIO space (address %"PRIx64")"
+
+# hw/pci/pci_host.c
+pci_cfg_read(const char *dev, unsigned devid, unsigned fnid, unsigned offs, unsigned val) "%s %02u:%u @0x%x -> 0x%x"
+pci_cfg_write(const char *dev, unsigned devid, unsigned fnid, unsigned offs, unsigned val) "%s %02u:%u @0x%x <- 0x%x"