diff options
author | Alexey Kardashevskiy | 2013-08-21 06:42:06 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2013-08-28 09:11:23 +0200 |
commit | 3bf4dfdd1110de84ca0cecff0679cf7da90bfbfe (patch) | |
tree | 229e224e87690ed6c2bb84a703719aa5d918166e /trace-events | |
parent | pc: fix regression for 64 bit PCI memory (diff) | |
download | qemu-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-events | 4 |
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" |