summaryrefslogtreecommitdiff
path: root/hw/pci
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-06-16 09:40:13 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2016-06-20 17:22:16 +0100
commitfec28134e57f7ac40f0cc4e8fe3e9d5d3644f3e4 (patch)
treecbe9992fb32290367c160b020b9076943013bff4 /hw/pci
parent3054fba87bcf0d11fe59122b1ec1be997134ddbf (diff)
downloadqemu-fec28134e57f7ac40f0cc4e8fe3e9d5d3644f3e4.tar.gz
trace: split out trace events for hw/pci/ directory
Move all trace-events for files in the hw/pci/ directory to their own file. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 1466066426-16657-28-git-send-email-berrange@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/pci')
-rw-r--r--hw/pci/trace-events9
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/pci/trace-events b/hw/pci/trace-events
new file mode 100644
index 0000000000..285338ac4d
--- /dev/null
+++ b/hw/pci/trace-events
@@ -0,0 +1,9 @@
+# See docs/trace-events.txt for syntax documentation.
+
+# hw/pci/pci.c
+pci_update_mappings_del(void *d, uint32_t bus, uint32_t slot, uint32_t func, int bar, uint64_t addr, uint64_t size) "d=%p %02x:%02x.%x %d,%#"PRIx64"+%#"PRIx64
+pci_update_mappings_add(void *d, uint32_t bus, uint32_t slot, uint32_t func, int bar, uint64_t addr, uint64_t size) "d=%p %02x:%02x.%x %d,%#"PRIx64"+%#"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"