summaryrefslogtreecommitdiffstats
path: root/block/trace-events
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-10-06 18:49:28 +0200
committerKevin Wolf2021-11-02 15:49:12 +0100
commit53cedeaaee9d585bd07eb921fa5557c64531f69b (patch)
treecc0d789546540904885813b6e8b130aa29745734 /block/trace-events
parentblock/nvme: Automatically free qemu_memalign() with QEMU_AUTO_VFREE (diff)
downloadqemu-53cedeaaee9d585bd07eb921fa5557c64531f69b.tar.gz
qemu-53cedeaaee9d585bd07eb921fa5557c64531f69b.tar.xz
qemu-53cedeaaee9d585bd07eb921fa5557c64531f69b.zip
block/nvme: Display CQ/SQ pointer in nvme_free_queue_pair()
For debugging purpose it is helpful to know the CQ/SQ pointers. We already have a trace event in nvme_free_queue_pair(), extend it to report these pointer addresses. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211006164931.172349-3-philmd@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/trace-events')
-rw-r--r--block/trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/trace-events b/block/trace-events
index ab56edacb4..549090d453 100644
--- a/block/trace-events
+++ b/block/trace-events
@@ -157,7 +157,7 @@ nvme_dsm_done(void *s, int64_t offset, int64_t bytes, int ret) "s %p offset 0x%"
nvme_dma_map_flush(void *s) "s %p"
nvme_free_req_queue_wait(void *s, unsigned q_index) "s %p q #%u"
nvme_create_queue_pair(unsigned q_index, void *q, size_t size, void *aio_context, int fd) "index %u q %p size %zu aioctx %p fd %d"
-nvme_free_queue_pair(unsigned q_index, void *q) "index %u q %p"
+nvme_free_queue_pair(unsigned q_index, void *q, void *cq, void *sq) "index %u q %p cq %p sq %p"
nvme_cmd_map_qiov(void *s, void *cmd, void *req, void *qiov, int entries) "s %p cmd %p req %p qiov %p entries %d"
nvme_cmd_map_qiov_pages(void *s, int i, uint64_t page) "s %p page[%d] 0x%"PRIx64
nvme_cmd_map_qiov_iov(void *s, int i, void *page, int pages) "s %p iov[%d] %p pages %d"