summaryrefslogtreecommitdiffstats
path: root/hw/block/trace-events
diff options
context:
space:
mode:
authorKlaus Jensen2021-01-18 07:30:50 +0100
committerKlaus Jensen2021-02-08 21:15:53 +0100
commitffacaf090893c5d6a5a6ea51b93087411af859c4 (patch)
tree4114f5014502199654bfcef67c77a80dd67e8938 /hw/block/trace-events
parenthw/block/nvme: trigger async event during injecting smart warning (diff)
downloadqemu-ffacaf090893c5d6a5a6ea51b93087411af859c4.tar.gz
qemu-ffacaf090893c5d6a5a6ea51b93087411af859c4.tar.xz
qemu-ffacaf090893c5d6a5a6ea51b93087411af859c4.zip
hw/block/nvme: add size to mmio read/write trace events
Add the size of the mmio read/write to the trace event. Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/block/trace-events')
-rw-r--r--hw/block/trace-events4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/block/trace-events b/hw/block/trace-events
index 6d1686e6dc..3772502033 100644
--- a/hw/block/trace-events
+++ b/hw/block/trace-events
@@ -80,8 +80,8 @@ pci_nvme_enqueue_event_noqueue(int queued) "queued %d"
pci_nvme_enqueue_event_masked(uint8_t typ) "type 0x%"PRIx8""
pci_nvme_no_outstanding_aers(void) "ignoring event; no outstanding AERs"
pci_nvme_enqueue_req_completion(uint16_t cid, uint16_t cqid, uint16_t status) "cid %"PRIu16" cqid %"PRIu16" status 0x%"PRIx16""
-pci_nvme_mmio_read(uint64_t addr) "addr 0x%"PRIx64""
-pci_nvme_mmio_write(uint64_t addr, uint64_t data) "addr 0x%"PRIx64" data 0x%"PRIx64""
+pci_nvme_mmio_read(uint64_t addr, unsigned size) "addr 0x%"PRIx64" size %d"
+pci_nvme_mmio_write(uint64_t addr, uint64_t data, unsigned size) "addr 0x%"PRIx64" data 0x%"PRIx64" size %d"
pci_nvme_mmio_doorbell_cq(uint16_t cqid, uint16_t new_head) "cqid %"PRIu16" new_head %"PRIu16""
pci_nvme_mmio_doorbell_sq(uint16_t sqid, uint16_t new_tail) "sqid %"PRIu16" new_tail %"PRIu16""
pci_nvme_mmio_intm_set(uint64_t data, uint64_t new_mask) "wrote MMIO, interrupt mask set, data=0x%"PRIx64", new_mask=0x%"PRIx64""